123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class DivineSenceItemPanel
- {
- #region 自定义数据
- private Object _bg;
- public Object bg
- {
- get{
- if (_bg == null)
- {
- _bg = GetUIUnit<Object>("bg");
- }
- return _bg;
- }
- }
- private Button _Btn_Close;
- public Button Btn_Close
- {
- get{
- if (_Btn_Close == null)
- {
- _Btn_Close = GetUIUnit<Button>("Btn_Close");
- }
- return _Btn_Close;
- }
- }
- private RectTransform _Content;
- public RectTransform Content
- {
- get{
- if (_Content == null)
- {
- _Content = GetUIUnit<RectTransform>("Content");
- }
- return _Content;
- }
- }
- private UIToggleList _toogleList;
- public UIToggleList toogleList
- {
- get{
- if (_toogleList == null)
- {
- _toogleList = GetUIUnit<UIToggleList>("toogleList");
- }
- return _toogleList;
- }
- }
- private Button _Btn_GaiLv;
- public Button Btn_GaiLv
- {
- get{
- if (_Btn_GaiLv == null)
- {
- _Btn_GaiLv = GetUIUnit<Button>("Btn_GaiLv");
- }
- return _Btn_GaiLv;
- }
- }
- private Button _Btn_ZuiZhong;
- public Button Btn_ZuiZhong
- {
- get{
- if (_Btn_ZuiZhong == null)
- {
- _Btn_ZuiZhong = GetUIUnit<Button>("Btn_ZuiZhong");
- }
- return _Btn_ZuiZhong;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|