| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 | 
							- using Fort23.Core;
 
- using Fort23.UTool;
 
- using UnityEngine.UI;
 
- using UnityEngine;
 
- using System.Collections.Generic;
 
- namespace Fort23.Mono
 
- {
 
- 	public partial class TowerPanel 
 
- 	{
 
- 	  #region 自定义数据 
 
- 	  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_Start;
 
- 	  public Button Btn_Start
 
- 	   {
 
- 	   get{
 
- 	      if (_Btn_Start == null)
 
- 	       {
 
- 	         _Btn_Start  = GetUIUnit<Button>("Btn_Start"); 
 
- 	       }
 
- 	      return _Btn_Start;
 
- 	     }
 
- 	   }
 
- 	  private Slider _Slider_Stage;
 
- 	  public Slider Slider_Stage
 
- 	   {
 
- 	   get{
 
- 	      if (_Slider_Stage == null)
 
- 	       {
 
- 	         _Slider_Stage  = GetUIUnit<Slider>("Slider_Stage"); 
 
- 	       }
 
- 	      return _Slider_Stage;
 
- 	     }
 
- 	   }
 
- 	  private GameObject _Icon_Select;
 
- 	  public GameObject Icon_Select
 
- 	   {
 
- 	   get{
 
- 	      if (_Icon_Select == null)
 
- 	       {
 
- 	         _Icon_Select  = GetUIUnit<GameObject>("Icon_Select"); 
 
- 	       }
 
- 	      return _Icon_Select;
 
- 	     }
 
- 	   }
 
- 	  private Text _Text_Season;
 
- 	  public Text Text_Season
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_Season == null)
 
- 	       {
 
- 	         _Text_Season  = GetUIUnit<Text>("Text_Season"); 
 
- 	       }
 
- 	      return _Text_Season;
 
- 	     }
 
- 	   }
 
- 	  private ScrollList _Content;
 
- 	  public ScrollList Content
 
- 	   {
 
- 	   get{
 
- 	      if (_Content == null)
 
- 	       {
 
- 	         _Content  = GetUIUnit<ScrollList>("Content"); 
 
- 	       }
 
- 	      return _Content;
 
- 	     }
 
- 	   }
 
- 	  private RectTransform _ContentRoot;
 
- 	  public RectTransform ContentRoot
 
- 	   {
 
- 	   get{
 
- 	      if (_ContentRoot == null)
 
- 	       {
 
- 	         _ContentRoot  = GetUIUnit<RectTransform>("ContentRoot"); 
 
- 	       }
 
- 	      return _ContentRoot;
 
- 	     }
 
- 	   }
 
- 	  private RectTransform _Group_ResourceBar;
 
- 	  public RectTransform Group_ResourceBar
 
- 	   {
 
- 	   get{
 
- 	      if (_Group_ResourceBar == null)
 
- 	       {
 
- 	         _Group_ResourceBar  = GetUIUnit<RectTransform>("Group_ResourceBar"); 
 
- 	       }
 
- 	      return _Group_ResourceBar;
 
- 	     }
 
- 	   }
 
- 	  #endregion 自定义数据结束 
 
- 	 public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
 
- 	{
 
- 	 await base.SetUIGameObject(gObjectPoolInterface);
 
- 	 Init();
 
- 	}
 
- 	}
 
- }
 
 
  |