using Fort23.Core; using Fort23.UTool; using UnityEngine.UI; using UnityEngine; using System.Collections.Generic; using Coffee.UIExtensions; 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; } } private GameObject _Icon_Marsk; public GameObject Icon_Marsk { get{ if (_Icon_Marsk == null) { _Icon_Marsk = GetUIUnit("Icon_Marsk"); } return _Icon_Marsk; } } private UIParticle _fx_ui_gongfa_tiaomu; public UIParticle fx_ui_gongfa_tiaomu { get{ if (_fx_ui_gongfa_tiaomu == null) { _fx_ui_gongfa_tiaomu = GetUIUnit("fx_ui_gongfa_tiaomu"); } return _fx_ui_gongfa_tiaomu; } } #endregion 自定义数据结束 public override async CTask SetUIGameObject(GameObject gObjectPoolInterface) { await base.SetUIGameObject(gObjectPoolInterface); Init(); } } }