| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339 | 
							- using Fort23.Core;
 
- using Fort23.UTool;
 
- using UnityEngine.UI;
 
- using UnityEngine;
 
- using System.Collections.Generic;
 
- using Coffee.UIExtensions;
 
- namespace Fort23.Mono
 
- {
 
- 	public partial class MainPanel 
 
- 	{
 
- 	  #region 自定义数据 
 
- 	  private Text _Text_ExplorationProgress;
 
- 	  public Text Text_ExplorationProgress
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_ExplorationProgress == null)
 
- 	       {
 
- 	         _Text_ExplorationProgress  = GetUIUnit<Text>("Text_ExplorationProgress"); 
 
- 	       }
 
- 	      return _Text_ExplorationProgress;
 
- 	     }
 
- 	   }
 
- 	  private Slider _CameraSelect;
 
- 	  public Slider CameraSelect
 
- 	   {
 
- 	   get{
 
- 	      if (_CameraSelect == null)
 
- 	       {
 
- 	         _CameraSelect  = GetUIUnit<Slider>("CameraSelect"); 
 
- 	       }
 
- 	      return _CameraSelect;
 
- 	     }
 
- 	   }
 
- 	  private Button _Btn_Event;
 
- 	  public Button Btn_Event
 
- 	   {
 
- 	   get{
 
- 	      if (_Btn_Event == null)
 
- 	       {
 
- 	         _Btn_Event  = GetUIUnit<Button>("Btn_Event"); 
 
- 	       }
 
- 	      return _Btn_Event;
 
- 	     }
 
- 	   }
 
- 	  private Text _Text_EventNum;
 
- 	  public Text Text_EventNum
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_EventNum == null)
 
- 	       {
 
- 	         _Text_EventNum  = GetUIUnit<Text>("Text_EventNum"); 
 
- 	       }
 
- 	      return _Text_EventNum;
 
- 	     }
 
- 	   }
 
- 	  private Button _Btn_Chat;
 
- 	  public Button Btn_Chat
 
- 	   {
 
- 	   get{
 
- 	      if (_Btn_Chat == null)
 
- 	       {
 
- 	         _Btn_Chat  = GetUIUnit<Button>("Btn_Chat"); 
 
- 	       }
 
- 	      return _Btn_Chat;
 
- 	     }
 
- 	   }
 
- 	  private Object _Text_Jingjie;
 
- 	  public Object Text_Jingjie
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_Jingjie == null)
 
- 	       {
 
- 	         _Text_Jingjie  = GetUIUnit<Object>("Text_Jingjie"); 
 
- 	       }
 
- 	      return _Text_Jingjie;
 
- 	     }
 
- 	   }
 
- 	  private MyImage _Icon_Player;
 
- 	  public MyImage Icon_Player
 
- 	   {
 
- 	   get{
 
- 	      if (_Icon_Player == null)
 
- 	       {
 
- 	         _Icon_Player  = GetUIUnit<MyImage>("Icon_Player"); 
 
- 	       }
 
- 	      return _Icon_Player;
 
- 	     }
 
- 	   }
 
- 	  private Text _Text_PlayerName;
 
- 	  public Text Text_PlayerName
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_PlayerName == null)
 
- 	       {
 
- 	         _Text_PlayerName  = GetUIUnit<Text>("Text_PlayerName"); 
 
- 	       }
 
- 	      return _Text_PlayerName;
 
- 	     }
 
- 	   }
 
- 	  private Object _Slider_Map;
 
- 	  public Object Slider_Map
 
- 	   {
 
- 	   get{
 
- 	      if (_Slider_Map == null)
 
- 	       {
 
- 	         _Slider_Map  = GetUIUnit<Object>("Slider_Map"); 
 
- 	       }
 
- 	      return _Slider_Map;
 
- 	     }
 
- 	   }
 
- 	  private Object _Slider_Exp;
 
- 	  public Object Slider_Exp
 
- 	   {
 
- 	   get{
 
- 	      if (_Slider_Exp == null)
 
- 	       {
 
- 	         _Slider_Exp  = GetUIUnit<Object>("Slider_Exp"); 
 
- 	       }
 
- 	      return _Slider_Exp;
 
- 	     }
 
- 	   }
 
- 	  private Button _Btn_Map;
 
- 	  public Button Btn_Map
 
- 	   {
 
- 	   get{
 
- 	      if (_Btn_Map == null)
 
- 	       {
 
- 	         _Btn_Map  = GetUIUnit<Button>("Btn_Map"); 
 
- 	       }
 
- 	      return _Btn_Map;
 
- 	     }
 
- 	   }
 
- 	  private MyImage _Icon_Daoyou;
 
- 	  public MyImage Icon_Daoyou
 
- 	   {
 
- 	   get{
 
- 	      if (_Icon_Daoyou == null)
 
- 	       {
 
- 	         _Icon_Daoyou  = GetUIUnit<MyImage>("Icon_Daoyou"); 
 
- 	       }
 
- 	      return _Icon_Daoyou;
 
- 	     }
 
- 	   }
 
- 	  private Text _Text_DaoyouCount;
 
- 	  public Text Text_DaoyouCount
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_DaoyouCount == null)
 
- 	       {
 
- 	         _Text_DaoyouCount  = GetUIUnit<Text>("Text_DaoyouCount"); 
 
- 	       }
 
- 	      return _Text_DaoyouCount;
 
- 	     }
 
- 	   }
 
- 	  private RectTransform _EventConditionRoot;
 
- 	  public RectTransform EventConditionRoot
 
- 	   {
 
- 	   get{
 
- 	      if (_EventConditionRoot == null)
 
- 	       {
 
- 	         _EventConditionRoot  = GetUIUnit<RectTransform>("EventConditionRoot"); 
 
- 	       }
 
- 	      return _EventConditionRoot;
 
- 	     }
 
- 	   }
 
- 	  private Button _Btn_QianKunDai;
 
- 	  public Button Btn_QianKunDai
 
- 	   {
 
- 	   get{
 
- 	      if (_Btn_QianKunDai == null)
 
- 	       {
 
- 	         _Btn_QianKunDai  = GetUIUnit<Button>("Btn_QianKunDai"); 
 
- 	       }
 
- 	      return _Btn_QianKunDai;
 
- 	     }
 
- 	   }
 
- 	  private Text _Text_EventTag;
 
- 	  public Text Text_EventTag
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_EventTag == null)
 
- 	       {
 
- 	         _Text_EventTag  = GetUIUnit<Text>("Text_EventTag"); 
 
- 	       }
 
- 	      return _Text_EventTag;
 
- 	     }
 
- 	   }
 
- 	  private Text _Text_EventName;
 
- 	  public Text Text_EventName
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_EventName == null)
 
- 	       {
 
- 	         _Text_EventName  = GetUIUnit<Text>("Text_EventName"); 
 
- 	       }
 
- 	      return _Text_EventName;
 
- 	     }
 
- 	   }
 
- 	  private Button _Btn_StartEvent;
 
- 	  public Button Btn_StartEvent
 
- 	   {
 
- 	   get{
 
- 	      if (_Btn_StartEvent == null)
 
- 	       {
 
- 	         _Btn_StartEvent  = GetUIUnit<Button>("Btn_StartEvent"); 
 
- 	       }
 
- 	      return _Btn_StartEvent;
 
- 	     }
 
- 	   }
 
- 	  private Button _Btn_Daoyou;
 
- 	  public Button Btn_Daoyou
 
- 	   {
 
- 	   get{
 
- 	      if (_Btn_Daoyou == null)
 
- 	       {
 
- 	         _Btn_Daoyou  = GetUIUnit<Button>("Btn_Daoyou"); 
 
- 	       }
 
- 	      return _Btn_Daoyou;
 
- 	     }
 
- 	   }
 
- 	  private Button _Btn_Box;
 
- 	  public Button Btn_Box
 
- 	   {
 
- 	   get{
 
- 	      if (_Btn_Box == null)
 
- 	       {
 
- 	         _Btn_Box  = GetUIUnit<Button>("Btn_Box"); 
 
- 	       }
 
- 	      return _Btn_Box;
 
- 	     }
 
- 	   }
 
- 	  private Slider _Slider_SmallJD;
 
- 	  public Slider Slider_SmallJD
 
- 	   {
 
- 	   get{
 
- 	      if (_Slider_SmallJD == null)
 
- 	       {
 
- 	         _Slider_SmallJD  = GetUIUnit<Slider>("Slider_SmallJD"); 
 
- 	       }
 
- 	      return _Slider_SmallJD;
 
- 	     }
 
- 	   }
 
- 	  private Button _Btn_ChangeMap;
 
- 	  public Button Btn_ChangeMap
 
- 	   {
 
- 	   get{
 
- 	      if (_Btn_ChangeMap == null)
 
- 	       {
 
- 	         _Btn_ChangeMap  = GetUIUnit<Button>("Btn_ChangeMap"); 
 
- 	       }
 
- 	      return _Btn_ChangeMap;
 
- 	     }
 
- 	   }
 
- 	  private RectTransform _Group_ResourceBar;
 
- 	  public RectTransform Group_ResourceBar
 
- 	   {
 
- 	   get{
 
- 	      if (_Group_ResourceBar == null)
 
- 	       {
 
- 	         _Group_ResourceBar  = GetUIUnit<RectTransform>("Group_ResourceBar"); 
 
- 	       }
 
- 	      return _Group_ResourceBar;
 
- 	     }
 
- 	   }
 
- 	  private Text _Text_jingjie;
 
- 	  public Text Text_jingjie
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_jingjie == null)
 
- 	       {
 
- 	         _Text_jingjie  = GetUIUnit<Text>("Text_jingjie"); 
 
- 	       }
 
- 	      return _Text_jingjie;
 
- 	     }
 
- 	   }
 
- 	  private Text _Text_bigMapName;
 
- 	  public Text Text_bigMapName
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_bigMapName == null)
 
- 	       {
 
- 	         _Text_bigMapName  = GetUIUnit<Text>("Text_bigMapName"); 
 
- 	       }
 
- 	      return _Text_bigMapName;
 
- 	     }
 
- 	   }
 
- 	  private Button _Btn_PlayerName;
 
- 	  public Button Btn_PlayerName
 
- 	   {
 
- 	   get{
 
- 	      if (_Btn_PlayerName == null)
 
- 	       {
 
- 	         _Btn_PlayerName  = GetUIUnit<Button>("Btn_PlayerName"); 
 
- 	       }
 
- 	      return _Btn_PlayerName;
 
- 	     }
 
- 	   }
 
- 	  private UIParticle _fx_ui_renwu_wancheng_loop;
 
- 	  public UIParticle fx_ui_renwu_wancheng_loop
 
- 	   {
 
- 	   get{
 
- 	      if (_fx_ui_renwu_wancheng_loop == null)
 
- 	       {
 
- 	         _fx_ui_renwu_wancheng_loop  = GetUIUnit<UIParticle>("fx_ui_renwu_wancheng_loop"); 
 
- 	       }
 
- 	      return _fx_ui_renwu_wancheng_loop;
 
- 	     }
 
- 	   }
 
- 	  private UIParticle _fx_ui_renwu_chuxian;
 
- 	  public UIParticle fx_ui_renwu_chuxian
 
- 	   {
 
- 	   get{
 
- 	      if (_fx_ui_renwu_chuxian == null)
 
- 	       {
 
- 	         _fx_ui_renwu_chuxian  = GetUIUnit<UIParticle>("fx_ui_renwu_chuxian"); 
 
- 	       }
 
- 	      return _fx_ui_renwu_chuxian;
 
- 	     }
 
- 	   }
 
- 	  private UIParticle _fx_ui_fengling_loop;
 
- 	  public UIParticle fx_ui_fengling_loop
 
- 	   {
 
- 	   get{
 
- 	      if (_fx_ui_fengling_loop == null)
 
- 	       {
 
- 	         _fx_ui_fengling_loop  = GetUIUnit<UIParticle>("fx_ui_fengling_loop"); 
 
- 	       }
 
- 	      return _fx_ui_fengling_loop;
 
- 	     }
 
- 	   }
 
- 	  #endregion 自定义数据结束 
 
- 	 public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
 
- 	{
 
- 	 await base.SetUIGameObject(gObjectPoolInterface);
 
- 	 Init();
 
- 	}
 
- 	}
 
- }
 
 
  |