| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306 | 
							- using Fort23.Core;
 
- using Fort23.UTool;
 
- using UnityEngine.UI;
 
- using UnityEngine;
 
- using System.Collections.Generic;
 
- using Coffee.UIExtensions;
 
- 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_GongFaIcon;
 
- 	  public MyImage Icon_GongFaIcon
 
- 	   {
 
- 	   get{
 
- 	      if (_Icon_GongFaIcon == null)
 
- 	       {
 
- 	         _Icon_GongFaIcon  = GetUIUnit<MyImage>("Icon_GongFaIcon"); 
 
- 	       }
 
- 	      return _Icon_GongFaIcon;
 
- 	     }
 
- 	   }
 
- 	  private List<MyImage> _StarRoot;
 
- 	  public List<MyImage> StarRoot
 
- 	   {
 
- 	   get{
 
- 	      if (_StarRoot == null)
 
- 	       {
 
- 	         _StarRoot  = GetUIUnit<List<MyImage>>("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 Object _UpStarRoot;
 
- 	  public Object UpStarRoot
 
- 	   {
 
- 	   get{
 
- 	      if (_UpStarRoot == null)
 
- 	       {
 
- 	         _UpStarRoot  = GetUIUnit<Object>("UpStarRoot"); 
 
- 	       }
 
- 	      return _UpStarRoot;
 
- 	     }
 
- 	   }
 
- 	  private Text _Text_SkillCd;
 
- 	  public Text Text_SkillCd
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_SkillCd == null)
 
- 	       {
 
- 	         _Text_SkillCd  = GetUIUnit<Text>("Text_SkillCd"); 
 
- 	       }
 
- 	      return _Text_SkillCd;
 
- 	     }
 
- 	   }
 
- 	  private GameObject _ItemWidgetType1Gam;
 
- 	  public GameObject ItemWidgetType1Gam
 
- 	   {
 
- 	   get{
 
- 	      if (_ItemWidgetType1Gam == null)
 
- 	       {
 
- 	         _ItemWidgetType1Gam  = GetUIUnit<GameObject>("ItemWidgetType1Gam"); 
 
- 	       }
 
- 	      return _ItemWidgetType1Gam;
 
- 	     }
 
- 	   }
 
- 	  private GameObject _UpStarItemRoot;
 
- 	  public GameObject UpStarItemRoot
 
- 	   {
 
- 	   get{
 
- 	      if (_UpStarItemRoot == null)
 
- 	       {
 
- 	         _UpStarItemRoot  = GetUIUnit<GameObject>("UpStarItemRoot"); 
 
- 	       }
 
- 	      return _UpStarItemRoot;
 
- 	     }
 
- 	   }
 
- 	  private GameObject _UpGradeItemRoot;
 
- 	  public GameObject UpGradeItemRoot
 
- 	   {
 
- 	   get{
 
- 	      if (_UpGradeItemRoot == null)
 
- 	       {
 
- 	         _UpGradeItemRoot  = GetUIUnit<GameObject>("UpGradeItemRoot"); 
 
- 	       }
 
- 	      return _UpGradeItemRoot;
 
- 	     }
 
- 	   }
 
- 	  private MyImage _Icon_Attribute;
 
- 	  public MyImage Icon_Attribute
 
- 	   {
 
- 	   get{
 
- 	      if (_Icon_Attribute == null)
 
- 	       {
 
- 	         _Icon_Attribute  = GetUIUnit<MyImage>("Icon_Attribute"); 
 
- 	       }
 
- 	      return _Icon_Attribute;
 
- 	     }
 
- 	   }
 
- 	  private RectTransform _EnergyRoot;
 
- 	  public RectTransform EnergyRoot
 
- 	   {
 
- 	   get{
 
- 	      if (_EnergyRoot == null)
 
- 	       {
 
- 	         _EnergyRoot  = GetUIUnit<RectTransform>("EnergyRoot"); 
 
- 	       }
 
- 	      return _EnergyRoot;
 
- 	     }
 
- 	   }
 
- 	  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 Text _Text_NextLevel;
 
- 	  public Text Text_NextLevel
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_NextLevel == null)
 
- 	       {
 
- 	         _Text_NextLevel  = GetUIUnit<Text>("Text_NextLevel"); 
 
- 	       }
 
- 	      return _Text_NextLevel;
 
- 	     }
 
- 	   }
 
- 	  private CustomStateController _csc;
 
- 	  public CustomStateController csc
 
- 	   {
 
- 	   get{
 
- 	      if (_csc == null)
 
- 	       {
 
- 	         _csc  = GetUIUnit<CustomStateController>("csc"); 
 
- 	       }
 
- 	      return _csc;
 
- 	     }
 
- 	   }
 
- 	  private Button _Btn_UpGradeOk;
 
- 	  public Button Btn_UpGradeOk
 
- 	   {
 
- 	   get{
 
- 	      if (_Btn_UpGradeOk == null)
 
- 	       {
 
- 	         _Btn_UpGradeOk  = GetUIUnit<Button>("Btn_UpGradeOk"); 
 
- 	       }
 
- 	      return _Btn_UpGradeOk;
 
- 	     }
 
- 	   }
 
- 	  private Button _Btn_UpStarOk;
 
- 	  public Button Btn_UpStarOk
 
- 	   {
 
- 	   get{
 
- 	      if (_Btn_UpStarOk == null)
 
- 	       {
 
- 	         _Btn_UpStarOk  = GetUIUnit<Button>("Btn_UpStarOk"); 
 
- 	       }
 
- 	      return _Btn_UpStarOk;
 
- 	     }
 
- 	   }
 
- 	  private UIParticle _fx_ui_gongfa_shengji;
 
- 	  public UIParticle fx_ui_gongfa_shengji
 
- 	   {
 
- 	   get{
 
- 	      if (_fx_ui_gongfa_shengji == null)
 
- 	       {
 
- 	         _fx_ui_gongfa_shengji  = GetUIUnit<UIParticle>("fx_ui_gongfa_shengji"); 
 
- 	       }
 
- 	      return _fx_ui_gongfa_shengji;
 
- 	     }
 
- 	   }
 
- 	  private RedDotWidgetType01 _RedDotComType01;
 
- 	  public RedDotWidgetType01 RedDotComType01
 
- 	   {
 
- 	   get{
 
- 	      if (_RedDotComType01 == null)
 
- 	       {
 
- 	         _RedDotComType01  = GetUIUnit<RedDotWidgetType01>("RedDotComType01"); 
 
- 	       }
 
- 	      return _RedDotComType01;
 
- 	     }
 
- 	   }
 
- 	  #endregion 自定义数据结束 
 
- 	 public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
 
- 	{
 
- 	 await base.SetUIGameObject(gObjectPoolInterface);
 
- 	 Init();
 
- 	}
 
- 	}
 
- }
 
 
  |