using Fort23.Core; using Fort23.UTool; using UnityEngine.UI; using UnityEngine; using System.Collections.Generic; using TMPro; namespace Fort23.Mono { public partial class OfflineRewardPanel { #region 自定义数据 private GameObject _diObj; public GameObject diObj { get{ if (_diObj == null) { _diObj = GetUIUnit("diObj"); } return _diObj; } } private RectTransform _itemRoot; public RectTransform itemRoot { get{ if (_itemRoot == null) { _itemRoot = GetUIUnit("itemRoot"); } return _itemRoot; } } private GameObject _widget; public GameObject widget { get{ if (_widget == null) { _widget = GetUIUnit("widget"); } return _widget; } } private TextMeshProUGUI _txtOfflineTime; public TextMeshProUGUI txtOfflineTime { get{ if (_txtOfflineTime == null) { _txtOfflineTime = GetUIUnit("txtOfflineTime"); } return _txtOfflineTime; } } private TextMeshProUGUI _txtCoin; public TextMeshProUGUI txtCoin { get{ if (_txtCoin == null) { _txtCoin = GetUIUnit("txtCoin"); } return _txtCoin; } } private TextMeshProUGUI _txtExp; public TextMeshProUGUI txtExp { get{ if (_txtExp == null) { _txtExp = GetUIUnit("txtExp"); } return _txtExp; } } #endregion 自定义数据结束 public override async CTask SetUIGameObject(GameObject gObjectPoolInterface) { await base.SetUIGameObject(gObjectPoolInterface); Init(); } } }