12345678910111213141516171819202122232425262728293031323334353637383940 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class DivineSenceInfoBtnWidget
- {
- #region 自定义数据
- private MyImage _Icon_ItemIcon;
- public MyImage Icon_ItemIcon
- {
- get{
- if (_Icon_ItemIcon == null)
- {
- _Icon_ItemIcon = GetUIUnit<MyImage>("Icon_ItemIcon");
- }
- return _Icon_ItemIcon;
- }
- }
- private Text _Text_ItemCount;
- public Text Text_ItemCount
- {
- get{
- if (_Text_ItemCount == null)
- {
- _Text_ItemCount = GetUIUnit<Text>("Text_ItemCount");
- }
- return _Text_ItemCount;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|