using Fort23.Core; using Fort23.UTool; using UnityEngine.UI; using UnityEngine; using System.Collections.Generic; namespace Fort23.Mono { public partial class FaBaoWidget { #region 自定义数据 private MyImage _Icon_FaBaoIcon; public MyImage Icon_FaBaoIcon { get{ if (_Icon_FaBaoIcon == null) { _Icon_FaBaoIcon = GetUIUnit("Icon_FaBaoIcon"); } return _Icon_FaBaoIcon; } } private Text _Text_Level; public Text Text_Level { get{ if (_Text_Level == null) { _Text_Level = GetUIUnit("Text_Level"); } return _Text_Level; } } private MyImage _Iocn_Active; public MyImage Iocn_Active { get{ if (_Iocn_Active == null) { _Iocn_Active = GetUIUnit("Iocn_Active"); } return _Iocn_Active; } } #endregion 自定义数据结束 public override async CTask SetUIGameObject(GameObject gObjectPoolInterface) { await base.SetUIGameObject(gObjectPoolInterface); Init(); } } }