PlayerJobInformationPanelCtrl.cs 915 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /// #pkgName FGUI包名
  2. /// #panelName UIPanel名字
  3. /// #UIName = $"{#pkgName}{#panelName}" UIKey名字
  4. /// 该脚本由模板创建
  5. /// created by cb 2024
  6. using XGame.Framework.UI;
  7. namespace FL.FGUI
  8. {
  9. /// <summary>
  10. /// UI逻辑处理类
  11. /// </summary>
  12. /// <typeparam name=""></typeparam>
  13. public partial class PlayerJobInformationPanelCtrl : UIController<PlayerJobInformationPanelVM>
  14. {
  15. protected override void OnEnable(object intent)
  16. {
  17. AddUIListenres();
  18. ShowUI();
  19. }
  20. protected override void OnDisable()
  21. {
  22. RemoveUIListenres();
  23. }
  24. #region UI事件
  25. private void AddUIListenres()
  26. {
  27. }
  28. private void RemoveUIListenres()
  29. {
  30. }
  31. #endregion
  32. private void ShowUI()
  33. {
  34. VM.JobInfoSkillNested.Ctrl.ShowUI();
  35. }
  36. }
  37. }