CombatPanelData.cs 631 B

1234567891011121314151617181920212223242526272829
  1. using Fort23.Core;
  2. using Fort23.UTool;
  3. using UnityEngine.UI;
  4. using UnityEngine;
  5. using System.Collections.Generic;
  6. namespace Fort23.Mono
  7. {
  8. public partial class CombatPanel
  9. {
  10. #region 自定义数据
  11. private Button _bnt_shengShi;
  12. public Button bnt_shengShi
  13. {
  14. get{
  15. if (_bnt_shengShi == null)
  16. {
  17. _bnt_shengShi = GetUIUnit<Button>("bnt_shengShi");
  18. }
  19. return _bnt_shengShi;
  20. }
  21. }
  22. #endregion 自定义数据结束
  23. public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
  24. {
  25. await base.SetUIGameObject(gObjectPoolInterface);
  26. Init();
  27. }
  28. }
  29. }