| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 | using Fort23.Core;using Fort23.UTool;using UnityEngine.UI;using UnityEngine;using System.Collections.Generic;namespace Fort23.Mono{	public partial class TaskInfoPanel 	{	  #region 自定义数据 	  private MyImage _bg;	  public MyImage bg	   {	   get{	      if (_bg == null)	       {	         _bg  = GetUIUnit<MyImage>("bg"); 	       }	      return _bg;	     }	   }	  private Button _Btn_Close;	  public Button Btn_Close	   {	   get{	      if (_Btn_Close == null)	       {	         _Btn_Close  = GetUIUnit<Button>("Btn_Close"); 	       }	      return _Btn_Close;	     }	   }	  private Button _Btn_Ok;	  public Button Btn_Ok	   {	   get{	      if (_Btn_Ok == null)	       {	         _Btn_Ok  = GetUIUnit<Button>("Btn_Ok"); 	       }	      return _Btn_Ok;	     }	   }	  private Text _Text_desc;	  public Text Text_desc	   {	   get{	      if (_Text_desc == null)	       {	         _Text_desc  = GetUIUnit<Text>("Text_desc"); 	       }	      return _Text_desc;	     }	   }	  private Text _Text_Name;	  public Text Text_Name	   {	   get{	      if (_Text_Name == null)	       {	         _Text_Name  = GetUIUnit<Text>("Text_Name"); 	       }	      return _Text_Name;	     }	   }	  private RectTransform _ItemRoot;	  public RectTransform ItemRoot	   {	   get{	      if (_ItemRoot == null)	       {	         _ItemRoot  = GetUIUnit<RectTransform>("ItemRoot"); 	       }	      return _ItemRoot;	     }	   }	  private Text _Text_Condition;	  public Text Text_Condition	   {	   get{	      if (_Text_Condition == null)	       {	         _Text_Condition  = GetUIUnit<Text>("Text_Condition"); 	       }	      return _Text_Condition;	     }	   }	  private Button _Btn_Bag;	  public Button Btn_Bag	   {	   get{	      if (_Btn_Bag == null)	       {	         _Btn_Bag  = GetUIUnit<Button>("Btn_Bag"); 	       }	      return _Btn_Bag;	     }	   }	  #endregion 自定义数据结束 	 public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)	{	 await base.SetUIGameObject(gObjectPoolInterface);	 Init();	}	}}
 |