RedDotComData.cs 723 B

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