using Fort23.Core; using Fort23.UTool; using UnityEngine.UI; using UnityEngine; using System.Collections.Generic; namespace Fort23.Mono { public partial class GongFaUpgradeInfoWidget { #region 自定义数据 private List _StarRoot; public List StarRoot { get{ if (_StarRoot == null) { _StarRoot = GetUIUnit>("StarRoot"); } return _StarRoot; } } private Text _Text_Desc; public Text Text_Desc { get{ if (_Text_Desc == null) { _Text_Desc = GetUIUnit("Text_Desc"); } return _Text_Desc; } } private MyImage _Icon_Select; public MyImage Icon_Select { get{ if (_Icon_Select == null) { _Icon_Select = GetUIUnit("Icon_Select"); } return _Icon_Select; } } #endregion 自定义数据结束 public override async CTask SetUIGameObject(GameObject gObjectPoolInterface) { await base.SetUIGameObject(gObjectPoolInterface); Init(); } } }