using Fort23.Core; using Fort23.UTool; using UnityEngine.UI; using UnityEngine; using System.Collections.Generic; namespace Fort23.Mono { public partial class DaoYouWidgetItem { #region 自定义数据 private GameObject _WidgetItemGam; public GameObject WidgetItemGam { get{ if (_WidgetItemGam == null) { _WidgetItemGam = GetUIUnit("WidgetItemGam"); } return _WidgetItemGam; } } private MyImage _Icon_Gou; public MyImage Icon_Gou { get{ if (_Icon_Gou == null) { _Icon_Gou = GetUIUnit("Icon_Gou"); } return _Icon_Gou; } } private MyImage _Icon_Award; public MyImage Icon_Award { get{ if (_Icon_Award == null) { _Icon_Award = GetUIUnit("Icon_Award"); } return _Icon_Award; } } #endregion 自定义数据结束 public override async CTask SetUIGameObject(GameObject gObjectPoolInterface) { await base.SetUIGameObject(gObjectPoolInterface); Init(); } } }