123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- 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<GameObject>("WidgetItemGam");
- }
- return _WidgetItemGam;
- }
- }
- private MyImage _Icon_Gou;
- public MyImage Icon_Gou
- {
- get{
- if (_Icon_Gou == null)
- {
- _Icon_Gou = GetUIUnit<MyImage>("Icon_Gou");
- }
- return _Icon_Gou;
- }
- }
- private MyImage _Icon_Award;
- public MyImage Icon_Award
- {
- get{
- if (_Icon_Award == null)
- {
- _Icon_Award = GetUIUnit<MyImage>("Icon_Award");
- }
- return _Icon_Award;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|