12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- 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;
- }
- }
- private RectTransform _Icon_ShenIcon;
- public RectTransform Icon_ShenIcon
- {
- get{
- if (_Icon_ShenIcon == null)
- {
- _Icon_ShenIcon = GetUIUnit<RectTransform>("Icon_ShenIcon");
- }
- return _Icon_ShenIcon;
- }
- }
- private MyImage _Icon_ItemIcon2;
- public MyImage Icon_ItemIcon2
- {
- get{
- if (_Icon_ItemIcon2 == null)
- {
- _Icon_ItemIcon2 = GetUIUnit<MyImage>("Icon_ItemIcon2");
- }
- return _Icon_ItemIcon2;
- }
- }
- private GameObject _icon_Jia;
- public GameObject icon_Jia
- {
- get{
- if (_icon_Jia == null)
- {
- _icon_Jia = GetUIUnit<GameObject>("icon_Jia");
- }
- return _icon_Jia;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|