123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class MainUIPanel
- {
- #region 自定义数据
- private List<object> _hero_battle;
- public List<object> hero_battle
- {
- get{
- if (_hero_battle == null)
- {
- _hero_battle = GetUIUnit<List<object>>("hero_battle");
- }
- return _hero_battle;
- }
- }
- private RectTransform _herobag;
- public RectTransform herobag
- {
- get{
- if (_herobag == null)
- {
- _herobag = GetUIUnit<RectTransform>("herobag");
- }
- return _herobag;
- }
- }
- private RectTransform _Icon_Coin;
- public RectTransform Icon_Coin
- {
- get{
- if (_Icon_Coin == null)
- {
- _Icon_Coin = GetUIUnit<RectTransform>("Icon_Coin");
- }
- return _Icon_Coin;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|