| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 | using Fort23.Core;using Fort23.UTool;using UnityEngine.UI;using UnityEngine;using System.Collections.Generic;namespace Fort23.Mono{	public partial class ItemDetailsPanel 	{	  #region 自定义数据 	  private MyImage _Icon_Quality;	  public MyImage Icon_Quality	   {	   get{	      if (_Icon_Quality == null)	       {	         _Icon_Quality  = GetUIUnit<MyImage>("Icon_Quality"); 	       }	      return _Icon_Quality;	     }	   }	  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_Name;	  public Text Text_Name	   {	   get{	      if (_Text_Name == null)	       {	         _Text_Name  = GetUIUnit<Text>("Text_Name"); 	       }	      return _Text_Name;	     }	   }	  private Text _Text_Desc;	  public Text Text_Desc	   {	   get{	      if (_Text_Desc == null)	       {	         _Text_Desc  = GetUIUnit<Text>("Text_Desc"); 	       }	      return _Text_Desc;	     }	   }	  private RectTransform _Connect;	  public RectTransform Connect	   {	   get{	      if (_Connect == null)	       {	         _Connect  = GetUIUnit<RectTransform>("Connect"); 	       }	      return _Connect;	     }	   }	  private Button _Btn_Close;	  public Button Btn_Close	   {	   get{	      if (_Btn_Close == null)	       {	         _Btn_Close  = GetUIUnit<Button>("Btn_Close"); 	       }	      return _Btn_Close;	     }	   }	  #endregion 自定义数据结束 	 public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)	{	 await base.SetUIGameObject(gObjectPoolInterface);	 Init();	}	}}
 |