CombatShowTextPanelData.cs 663 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 CombatShowTextPanel
  9. {
  10. #region 自定义数据
  11. private GameObject _ShowTextWidget;
  12. public GameObject ShowTextWidget
  13. {
  14. get{
  15. if (_ShowTextWidget == null)
  16. {
  17. _ShowTextWidget = GetUIUnit<GameObject>("ShowTextWidget");
  18. }
  19. return _ShowTextWidget;
  20. }
  21. }
  22. #endregion 自定义数据结束
  23. public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
  24. {
  25. await base.SetUIGameObject(gObjectPoolInterface);
  26. Init();
  27. }
  28. }
  29. }