| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 | 
							- using Fort23.Core;
 
- using Fort23.UTool;
 
- using UnityEngine.UI;
 
- using UnityEngine;
 
- using System.Collections.Generic;
 
- using Coffee.UIExtensions;
 
- namespace Fort23.Mono
 
- {
 
- 	public partial class TowerLevelWidget 
 
- 	{
 
- 	  #region 自定义数据 
 
- 	  private Text _Text_Name;
 
- 	  public Text Text_Name
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_Name == null)
 
- 	       {
 
- 	         _Text_Name  = GetUIUnit<Text>("Text_Name"); 
 
- 	       }
 
- 	      return _Text_Name;
 
- 	     }
 
- 	   }
 
- 	  private Button _Btn_BigSecretAreaWidget;
 
- 	  public Button Btn_BigSecretAreaWidget
 
- 	   {
 
- 	   get{
 
- 	      if (_Btn_BigSecretAreaWidget == null)
 
- 	       {
 
- 	         _Btn_BigSecretAreaWidget  = GetUIUnit<Button>("Btn_BigSecretAreaWidget"); 
 
- 	       }
 
- 	      return _Btn_BigSecretAreaWidget;
 
- 	     }
 
- 	   }
 
- 	  private CustomStateController _Csc;
 
- 	  public CustomStateController Csc
 
- 	   {
 
- 	   get{
 
- 	      if (_Csc == null)
 
- 	       {
 
- 	         _Csc  = GetUIUnit<CustomStateController>("Csc"); 
 
- 	       }
 
- 	      return _Csc;
 
- 	     }
 
- 	   }
 
- 	  private Button _Btn_GetWard;
 
- 	  public Button Btn_GetWard
 
- 	   {
 
- 	   get{
 
- 	      if (_Btn_GetWard == null)
 
- 	       {
 
- 	         _Btn_GetWard  = GetUIUnit<Button>("Btn_GetWard"); 
 
- 	       }
 
- 	      return _Btn_GetWard;
 
- 	     }
 
- 	   }
 
- 	  private GameObject _Check;
 
- 	  public GameObject Check
 
- 	   {
 
- 	   get{
 
- 	      if (_Check == null)
 
- 	       {
 
- 	         _Check  = GetUIUnit<GameObject>("Check"); 
 
- 	       }
 
- 	      return _Check;
 
- 	     }
 
- 	   }
 
- 	  private RectTransform _dec_Hexagon;
 
- 	  public RectTransform dec_Hexagon
 
- 	   {
 
- 	   get{
 
- 	      if (_dec_Hexagon == null)
 
- 	       {
 
- 	         _dec_Hexagon  = GetUIUnit<RectTransform>("dec_Hexagon"); 
 
- 	       }
 
- 	      return _dec_Hexagon;
 
- 	     }
 
- 	   }
 
- 	  private MyImage _Icon_Item;
 
- 	  public MyImage Icon_Item
 
- 	   {
 
- 	   get{
 
- 	      if (_Icon_Item == null)
 
- 	       {
 
- 	         _Icon_Item  = GetUIUnit<MyImage>("Icon_Item"); 
 
- 	       }
 
- 	      return _Icon_Item;
 
- 	     }
 
- 	   }
 
- 	  private Text _Text_Num;
 
- 	  public Text Text_Num
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_Num == null)
 
- 	       {
 
- 	         _Text_Num  = GetUIUnit<Text>("Text_Num"); 
 
- 	       }
 
- 	      return _Text_Num;
 
- 	     }
 
- 	   }
 
- 	  private GameObject _GetWard;
 
- 	  public GameObject GetWard
 
- 	   {
 
- 	   get{
 
- 	      if (_GetWard == null)
 
- 	       {
 
- 	         _GetWard  = GetUIUnit<GameObject>("GetWard"); 
 
- 	       }
 
- 	      return _GetWard;
 
- 	     }
 
- 	   }
 
- 	  private UIParticle _fx_ui_jiangli_loop;
 
- 	  public UIParticle fx_ui_jiangli_loop
 
- 	   {
 
- 	   get{
 
- 	      if (_fx_ui_jiangli_loop == null)
 
- 	       {
 
- 	         _fx_ui_jiangli_loop  = GetUIUnit<UIParticle>("fx_ui_jiangli_loop"); 
 
- 	       }
 
- 	      return _fx_ui_jiangli_loop;
 
- 	     }
 
- 	   }
 
- 	  #endregion 自定义数据结束 
 
- 	 public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
 
- 	{
 
- 	 await base.SetUIGameObject(gObjectPoolInterface);
 
- 	 Init();
 
- 	}
 
- 	}
 
- }
 
 
  |