| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238 | using Fort23.Core;using Fort23.UTool;using UnityEngine.UI;using UnityEngine;using System.Collections.Generic;namespace Fort23.Mono{	public partial class GongFaUpgradePanel 	{	  #region 自定义数据 	  private Button _guanbi;	  public Button guanbi	   {	   get{	      if (_guanbi == null)	       {	         _guanbi  = GetUIUnit<Button>("guanbi"); 	       }	      return _guanbi;	     }	   }	  private MyImage _Icon_Attribute;	  public MyImage Icon_Attribute	   {	   get{	      if (_Icon_Attribute == null)	       {	         _Icon_Attribute  = GetUIUnit<MyImage>("Icon_Attribute"); 	       }	      return _Icon_Attribute;	     }	   }	  private Text _Text_Attribute;	  public Text Text_Attribute	   {	   get{	      if (_Text_Attribute == null)	       {	         _Text_Attribute  = GetUIUnit<Text>("Text_Attribute"); 	       }	      return _Text_Attribute;	     }	   }	  private MyImage _Icon_GongFaIcon;	  public MyImage Icon_GongFaIcon	   {	   get{	      if (_Icon_GongFaIcon == null)	       {	         _Icon_GongFaIcon  = GetUIUnit<MyImage>("Icon_GongFaIcon"); 	       }	      return _Icon_GongFaIcon;	     }	   }	  private List<object> _StarRoot;	  public List<object> StarRoot	   {	   get{	      if (_StarRoot == null)	       {	         _StarRoot  = GetUIUnit<List<object>>("StarRoot"); 	       }	      return _StarRoot;	     }	   }	  private Text _Text_Level1;	  public Text Text_Level1	   {	   get{	      if (_Text_Level1 == null)	       {	         _Text_Level1  = GetUIUnit<Text>("Text_Level1"); 	       }	      return _Text_Level1;	     }	   }	  private Text _Text_Level;	  public Text Text_Level	   {	   get{	      if (_Text_Level == null)	       {	         _Text_Level  = GetUIUnit<Text>("Text_Level"); 	       }	      return _Text_Level;	     }	   }	  private RectTransform _Content;	  public RectTransform Content	   {	   get{	      if (_Content == null)	       {	         _Content  = GetUIUnit<RectTransform>("Content"); 	       }	      return _Content;	     }	   }	  private Text _Text_GongFaDesc;	  public Text Text_GongFaDesc	   {	   get{	      if (_Text_GongFaDesc == null)	       {	         _Text_GongFaDesc  = GetUIUnit<Text>("Text_GongFaDesc"); 	       }	      return _Text_GongFaDesc;	     }	   }	  private Text _Text_GongFaName;	  public Text Text_GongFaName	   {	   get{	      if (_Text_GongFaName == null)	       {	         _Text_GongFaName  = GetUIUnit<Text>("Text_GongFaName"); 	       }	      return _Text_GongFaName;	     }	   }	  private Button _Btn_Back;	  public Button Btn_Back	   {	   get{	      if (_Btn_Back == null)	       {	         _Btn_Back  = GetUIUnit<Button>("Btn_Back"); 	       }	      return _Btn_Back;	     }	   }	  private Button _Btn_UpStar;	  public Button Btn_UpStar	   {	   get{	      if (_Btn_UpStar == null)	       {	         _Btn_UpStar  = GetUIUnit<Button>("Btn_UpStar"); 	       }	      return _Btn_UpStar;	     }	   }	  private Button _Btn_UpGrade;	  public Button Btn_UpGrade	   {	   get{	      if (_Btn_UpGrade == null)	       {	         _Btn_UpGrade  = GetUIUnit<Button>("Btn_UpGrade"); 	       }	      return _Btn_UpGrade;	     }	   }	  private MyImage _Icon_UpstarIcon;	  public MyImage Icon_UpstarIcon	   {	   get{	      if (_Icon_UpstarIcon == null)	       {	         _Icon_UpstarIcon  = GetUIUnit<MyImage>("Icon_UpstarIcon"); 	       }	      return _Icon_UpstarIcon;	     }	   }	  private Text _Text_UpGradeItemCount;	  public Text Text_UpGradeItemCount	   {	   get{	      if (_Text_UpGradeItemCount == null)	       {	         _Text_UpGradeItemCount  = GetUIUnit<Text>("Text_UpGradeItemCount"); 	       }	      return _Text_UpGradeItemCount;	     }	   }	  private Text _Text_UpStarCount;	  public Text Text_UpStarCount	   {	   get{	      if (_Text_UpStarCount == null)	       {	         _Text_UpStarCount  = GetUIUnit<Text>("Text_UpStarCount"); 	       }	      return _Text_UpStarCount;	     }	   }	  private Text _Text_UpStar;	  public Text Text_UpStar	   {	   get{	      if (_Text_UpStar == null)	       {	         _Text_UpStar  = GetUIUnit<Text>("Text_UpStar"); 	       }	      return _Text_UpStar;	     }	   }	  private Text _Text_UpGrade;	  public Text Text_UpGrade	   {	   get{	      if (_Text_UpGrade == null)	       {	         _Text_UpGrade  = GetUIUnit<Text>("Text_UpGrade"); 	       }	      return _Text_UpGrade;	     }	   }	  private GameObject _UpGradeRoot;	  public GameObject UpGradeRoot	   {	   get{	      if (_UpGradeRoot == null)	       {	         _UpGradeRoot  = GetUIUnit<GameObject>("UpGradeRoot"); 	       }	      return _UpGradeRoot;	     }	   }	  private GameObject _UpStarRoot;	  public GameObject UpStarRoot	   {	   get{	      if (_UpStarRoot == null)	       {	         _UpStarRoot  = GetUIUnit<GameObject>("UpStarRoot"); 	       }	      return _UpStarRoot;	     }	   }	  #endregion 自定义数据结束 	 public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)	{	 await base.SetUIGameObject(gObjectPoolInterface);	 Init();	}	}}
 |