| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 | 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;	     }	   }	  #endregion 自定义数据结束 	 public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)	{	 await base.SetUIGameObject(gObjectPoolInterface);	 Init();	}	}}
 |