123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class EqRecyclePanel
- {
- #region 自定义数据
- private Text _txtlName;
- public Text txtlName
- {
- get{
- if (_txtlName == null)
- {
- _txtlName = GetUIUnit<Text>("txtlName");
- }
- return _txtlName;
- }
- }
- private Button _btnBack;
- public Button btnBack
- {
- get{
- if (_btnBack == null)
- {
- _btnBack = GetUIUnit<Button>("btnBack");
- }
- return _btnBack;
- }
- }
- private GameObject _diObj;
- public GameObject diObj
- {
- get{
- if (_diObj == null)
- {
- _diObj = GetUIUnit<GameObject>("diObj");
- }
- return _diObj;
- }
- }
- private RectTransform _itemRoot;
- public RectTransform itemRoot
- {
- get{
- if (_itemRoot == null)
- {
- _itemRoot = GetUIUnit<RectTransform>("itemRoot");
- }
- return _itemRoot;
- }
- }
- private GameObject _eqItem;
- public GameObject eqItem
- {
- get{
- if (_eqItem == null)
- {
- _eqItem = GetUIUnit<GameObject>("eqItem");
- }
- return _eqItem;
- }
- }
- private Button _btnDi;
- public Button btnDi
- {
- get{
- if (_btnDi == null)
- {
- _btnDi = GetUIUnit<Button>("btnDi");
- }
- return _btnDi;
- }
- }
- private GameObject _recItem;
- public GameObject recItem
- {
- get{
- if (_recItem == null)
- {
- _recItem = GetUIUnit<GameObject>("recItem");
- }
- return _recItem;
- }
- }
- private Button _btnRec;
- public Button btnRec
- {
- get{
- if (_btnRec == null)
- {
- _btnRec = GetUIUnit<Button>("btnRec");
- }
- return _btnRec;
- }
- }
- private RectTransform _rewardRoot;
- public RectTransform rewardRoot
- {
- get{
- if (_rewardRoot == null)
- {
- _rewardRoot = GetUIUnit<RectTransform>("rewardRoot");
- }
- return _rewardRoot;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|