| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372 | 
							- using Fort23.Core;
 
- using Fort23.UTool;
 
- using UnityEngine.UI;
 
- using UnityEngine;
 
- using System.Collections.Generic;
 
- using Coffee.UIExtensions;
 
- namespace Fort23.Mono
 
- {
 
- 	public partial class HeroInformationPanel 
 
- 	{
 
- 	  #region 自定义数据 
 
- 	  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_Speed;
 
- 	  public Text Text_Speed
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_Speed == null)
 
- 	       {
 
- 	         _Text_Speed  = GetUIUnit<Text>("Text_Speed"); 
 
- 	       }
 
- 	      return _Text_Speed;
 
- 	     }
 
- 	   }
 
- 	  private Text _Text_exp;
 
- 	  public Text Text_exp
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_exp == null)
 
- 	       {
 
- 	         _Text_exp  = GetUIUnit<Text>("Text_exp"); 
 
- 	       }
 
- 	      return _Text_exp;
 
- 	     }
 
- 	   }
 
- 	  private Text _Text_Level;
 
- 	  public Text Text_Level
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_Level == null)
 
- 	       {
 
- 	         _Text_Level  = GetUIUnit<Text>("Text_Level"); 
 
- 	       }
 
- 	      return _Text_Level;
 
- 	     }
 
- 	   }
 
- 	  private Slider _Slider_Exp;
 
- 	  public Slider Slider_Exp
 
- 	   {
 
- 	   get{
 
- 	      if (_Slider_Exp == null)
 
- 	       {
 
- 	         _Slider_Exp  = GetUIUnit<Slider>("Slider_Exp"); 
 
- 	       }
 
- 	      return _Slider_Exp;
 
- 	     }
 
- 	   }
 
- 	  private Button _Btn_TuPo;
 
- 	  public Button Btn_TuPo
 
- 	   {
 
- 	   get{
 
- 	      if (_Btn_TuPo == null)
 
- 	       {
 
- 	         _Btn_TuPo  = GetUIUnit<Button>("Btn_TuPo"); 
 
- 	       }
 
- 	      return _Btn_TuPo;
 
- 	     }
 
- 	   }
 
- 	  private Button _Btn_Dujie;
 
- 	  public Button Btn_Dujie
 
- 	   {
 
- 	   get{
 
- 	      if (_Btn_Dujie == null)
 
- 	       {
 
- 	         _Btn_Dujie  = GetUIUnit<Button>("Btn_Dujie"); 
 
- 	       }
 
- 	      return _Btn_Dujie;
 
- 	     }
 
- 	   }
 
- 	  private Button _Btn_DanYao;
 
- 	  public Button Btn_DanYao
 
- 	   {
 
- 	   get{
 
- 	      if (_Btn_DanYao == null)
 
- 	       {
 
- 	         _Btn_DanYao  = GetUIUnit<Button>("Btn_DanYao"); 
 
- 	       }
 
- 	      return _Btn_DanYao;
 
- 	     }
 
- 	   }
 
- 	  private Button _Btn_Close;
 
- 	  public Button Btn_Close
 
- 	   {
 
- 	   get{
 
- 	      if (_Btn_Close == null)
 
- 	       {
 
- 	         _Btn_Close  = GetUIUnit<Button>("Btn_Close"); 
 
- 	       }
 
- 	      return _Btn_Close;
 
- 	     }
 
- 	   }
 
- 	  private RectTransform _HeroRoot;
 
- 	  public RectTransform HeroRoot
 
- 	   {
 
- 	   get{
 
- 	      if (_HeroRoot == null)
 
- 	       {
 
- 	         _HeroRoot  = GetUIUnit<RectTransform>("HeroRoot"); 
 
- 	       }
 
- 	      return _HeroRoot;
 
- 	     }
 
- 	   }
 
- 	  private RectTransform _AttributeRoot;
 
- 	  public RectTransform AttributeRoot
 
- 	   {
 
- 	   get{
 
- 	      if (_AttributeRoot == null)
 
- 	       {
 
- 	         _AttributeRoot  = GetUIUnit<RectTransform>("AttributeRoot"); 
 
- 	       }
 
- 	      return _AttributeRoot;
 
- 	     }
 
- 	   }
 
- 	  private Transform _CameraRoot;
 
- 	  public Transform CameraRoot
 
- 	   {
 
- 	   get{
 
- 	      if (_CameraRoot == null)
 
- 	       {
 
- 	         _CameraRoot  = GetUIUnit<Transform>("CameraRoot"); 
 
- 	       }
 
- 	      return _CameraRoot;
 
- 	     }
 
- 	   }
 
- 	  private Text _Text_TuPo;
 
- 	  public Text Text_TuPo
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_TuPo == null)
 
- 	       {
 
- 	         _Text_TuPo  = GetUIUnit<Text>("Text_TuPo"); 
 
- 	       }
 
- 	      return _Text_TuPo;
 
- 	     }
 
- 	   }
 
- 	  private Button _Btn_DaoLv;
 
- 	  public Button Btn_DaoLv
 
- 	   {
 
- 	   get{
 
- 	      if (_Btn_DaoLv == null)
 
- 	       {
 
- 	         _Btn_DaoLv  = GetUIUnit<Button>("Btn_DaoLv"); 
 
- 	       }
 
- 	      return _Btn_DaoLv;
 
- 	     }
 
- 	   }
 
- 	  private Button _Btn_Back;
 
- 	  public Button Btn_Back
 
- 	   {
 
- 	   get{
 
- 	      if (_Btn_Back == null)
 
- 	       {
 
- 	         _Btn_Back  = GetUIUnit<Button>("Btn_Back"); 
 
- 	       }
 
- 	      return _Btn_Back;
 
- 	     }
 
- 	   }
 
- 	  private Text _Text_Jingjie1;
 
- 	  public Text Text_Jingjie1
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_Jingjie1 == null)
 
- 	       {
 
- 	         _Text_Jingjie1  = GetUIUnit<Text>("Text_Jingjie1"); 
 
- 	       }
 
- 	      return _Text_Jingjie1;
 
- 	     }
 
- 	   }
 
- 	  private List<MyImage> _JingJieIcons;
 
- 	  public List<MyImage> JingJieIcons
 
- 	   {
 
- 	   get{
 
- 	      if (_JingJieIcons == null)
 
- 	       {
 
- 	         _JingJieIcons  = GetUIUnit<List<MyImage>>("JingJieIcons"); 
 
- 	       }
 
- 	      return _JingJieIcons;
 
- 	     }
 
- 	   }
 
- 	  private Button _Btn_Tips;
 
- 	  public Button Btn_Tips
 
- 	   {
 
- 	   get{
 
- 	      if (_Btn_Tips == null)
 
- 	       {
 
- 	         _Btn_Tips  = GetUIUnit<Button>("Btn_Tips"); 
 
- 	       }
 
- 	      return _Btn_Tips;
 
- 	     }
 
- 	   }
 
- 	  private GameObject _TipsRoot;
 
- 	  public GameObject TipsRoot
 
- 	   {
 
- 	   get{
 
- 	      if (_TipsRoot == null)
 
- 	       {
 
- 	         _TipsRoot  = GetUIUnit<GameObject>("TipsRoot"); 
 
- 	       }
 
- 	      return _TipsRoot;
 
- 	     }
 
- 	   }
 
- 	  private GameObject _root;
 
- 	  public GameObject root
 
- 	   {
 
- 	   get{
 
- 	      if (_root == null)
 
- 	       {
 
- 	         _root  = GetUIUnit<GameObject>("root"); 
 
- 	       }
 
- 	      return _root;
 
- 	     }
 
- 	   }
 
- 	  private Animator _DujiePanelAnim;
 
- 	  public Animator DujiePanelAnim
 
- 	   {
 
- 	   get{
 
- 	      if (_DujiePanelAnim == null)
 
- 	       {
 
- 	         _DujiePanelAnim  = GetUIUnit<Animator>("DujiePanelAnim"); 
 
- 	       }
 
- 	      return _DujiePanelAnim;
 
- 	     }
 
- 	   }
 
- 	  private UIParticle _fx_ui_dujie_guodu;
 
- 	  public UIParticle fx_ui_dujie_guodu
 
- 	   {
 
- 	   get{
 
- 	      if (_fx_ui_dujie_guodu == null)
 
- 	       {
 
- 	         _fx_ui_dujie_guodu  = GetUIUnit<UIParticle>("fx_ui_dujie_guodu"); 
 
- 	       }
 
- 	      return _fx_ui_dujie_guodu;
 
- 	     }
 
- 	   }
 
- 	  private UIParticle _fx_ui_dujie_hun;
 
- 	  public UIParticle fx_ui_dujie_hun
 
- 	   {
 
- 	   get{
 
- 	      if (_fx_ui_dujie_hun == null)
 
- 	       {
 
- 	         _fx_ui_dujie_hun  = GetUIUnit<UIParticle>("fx_ui_dujie_hun"); 
 
- 	       }
 
- 	      return _fx_ui_dujie_hun;
 
- 	     }
 
- 	   }
 
- 	  private UIParticle _fx_ui_dujie_sd;
 
- 	  public UIParticle fx_ui_dujie_sd
 
- 	   {
 
- 	   get{
 
- 	      if (_fx_ui_dujie_sd == null)
 
- 	       {
 
- 	         _fx_ui_dujie_sd  = GetUIUnit<UIParticle>("fx_ui_dujie_sd"); 
 
- 	       }
 
- 	      return _fx_ui_dujie_sd;
 
- 	     }
 
- 	   }
 
- 	  private Slider _Slider_Hp;
 
- 	  public Slider Slider_Hp
 
- 	   {
 
- 	   get{
 
- 	      if (_Slider_Hp == null)
 
- 	       {
 
- 	         _Slider_Hp  = GetUIUnit<Slider>("Slider_Hp"); 
 
- 	       }
 
- 	      return _Slider_Hp;
 
- 	     }
 
- 	   }
 
- 	  private GameObject _ShowTextWidgetGam;
 
- 	  public GameObject ShowTextWidgetGam
 
- 	   {
 
- 	   get{
 
- 	      if (_ShowTextWidgetGam == null)
 
- 	       {
 
- 	         _ShowTextWidgetGam  = GetUIUnit<GameObject>("ShowTextWidgetGam"); 
 
- 	       }
 
- 	      return _ShowTextWidgetGam;
 
- 	     }
 
- 	   }
 
- 	  private Text _Text_Hp;
 
- 	  public Text Text_Hp
 
- 	   {
 
- 	   get{
 
- 	      if (_Text_Hp == null)
 
- 	       {
 
- 	         _Text_Hp  = GetUIUnit<Text>("Text_Hp"); 
 
- 	       }
 
- 	      return _Text_Hp;
 
- 	     }
 
- 	   }
 
- 	  private RectTransform _hpPos;
 
- 	  public RectTransform hpPos
 
- 	   {
 
- 	   get{
 
- 	      if (_hpPos == null)
 
- 	       {
 
- 	         _hpPos  = GetUIUnit<RectTransform>("hpPos"); 
 
- 	       }
 
- 	      return _hpPos;
 
- 	     }
 
- 	   }
 
- 	  private UIParticle _fx_ui_tupo1;
 
- 	  public UIParticle fx_ui_tupo1
 
- 	   {
 
- 	   get{
 
- 	      if (_fx_ui_tupo1 == null)
 
- 	       {
 
- 	         _fx_ui_tupo1  = GetUIUnit<UIParticle>("fx_ui_tupo1"); 
 
- 	       }
 
- 	      return _fx_ui_tupo1;
 
- 	     }
 
- 	   }
 
- 	  private UIParticle _fx_ui_tupo_loop;
 
- 	  public UIParticle fx_ui_tupo_loop
 
- 	   {
 
- 	   get{
 
- 	      if (_fx_ui_tupo_loop == null)
 
- 	       {
 
- 	         _fx_ui_tupo_loop  = GetUIUnit<UIParticle>("fx_ui_tupo_loop"); 
 
- 	       }
 
- 	      return _fx_ui_tupo_loop;
 
- 	     }
 
- 	   }
 
- 	  private RectTransform _fxroot;
 
- 	  public RectTransform fxroot
 
- 	   {
 
- 	   get{
 
- 	      if (_fxroot == null)
 
- 	       {
 
- 	         _fxroot  = GetUIUnit<RectTransform>("fxroot"); 
 
- 	       }
 
- 	      return _fxroot;
 
- 	     }
 
- 	   }
 
- 	  private UIParticle _fx_ui_danyao_shi;
 
- 	  public UIParticle fx_ui_danyao_shi
 
- 	   {
 
- 	   get{
 
- 	      if (_fx_ui_danyao_shi == null)
 
- 	       {
 
- 	         _fx_ui_danyao_shi  = GetUIUnit<UIParticle>("fx_ui_danyao_shi"); 
 
- 	       }
 
- 	      return _fx_ui_danyao_shi;
 
- 	     }
 
- 	   }
 
- 	  #endregion 自定义数据结束 
 
- 	 public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
 
- 	{
 
- 	 await base.SetUIGameObject(gObjectPoolInterface);
 
- 	 Init();
 
- 	}
 
- 	}
 
- }
 
 
  |