using Fort23.Core; using Fort23.UTool; using UnityEngine.UI; using UnityEngine; using System.Collections.Generic; namespace Fort23.Mono { public partial class SummonScoreAwardWidget { #region 自定义数据 private Text _Text_Name; public Text Text_Name { get{ if (_Text_Name == null) { _Text_Name = GetUIUnit("Text_Name"); } return _Text_Name; } } private RectTransform _ItemRoot; public RectTransform ItemRoot { get{ if (_ItemRoot == null) { _ItemRoot = GetUIUnit("ItemRoot"); } return _ItemRoot; } } #endregion 自定义数据结束 public override async CTask SetUIGameObject(GameObject gObjectPoolInterface) { await base.SetUIGameObject(gObjectPoolInterface); Init(); } } }