| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 | using Fort23.Core;using Fort23.UTool;using UnityEngine.UI;using UnityEngine;using System.Collections.Generic;namespace Fort23.Mono{	public partial class BossInfoPanel 	{	  #region 自定义数据 	  private MyImage _bg;	  public MyImage bg	   {	   get{	      if (_bg == null)	       {	         _bg  = GetUIUnit<MyImage>("bg"); 	       }	      return _bg;	     }	   }	  private Button _Btn_Close;	  public Button Btn_Close	   {	   get{	      if (_Btn_Close == null)	       {	         _Btn_Close  = GetUIUnit<Button>("Btn_Close"); 	       }	      return _Btn_Close;	     }	   }	  private Button _Btn_Ok;	  public Button Btn_Ok	   {	   get{	      if (_Btn_Ok == null)	       {	         _Btn_Ok  = GetUIUnit<Button>("Btn_Ok"); 	       }	      return _Btn_Ok;	     }	   }	  private Text _Text_Name;	  public Text Text_Name	   {	   get{	      if (_Text_Name == null)	       {	         _Text_Name  = GetUIUnit<Text>("Text_Name"); 	       }	      return _Text_Name;	     }	   }	  private Text _Text_Jingjie;	  public Text Text_Jingjie	   {	   get{	      if (_Text_Jingjie == null)	       {	         _Text_Jingjie  = GetUIUnit<Text>("Text_Jingjie"); 	       }	      return _Text_Jingjie;	     }	   }	  private RectTransform _FabaoRoot;	  public RectTransform FabaoRoot	   {	   get{	      if (_FabaoRoot == null)	       {	         _FabaoRoot  = GetUIUnit<RectTransform>("FabaoRoot"); 	       }	      return _FabaoRoot;	     }	   }	  private RectTransform _GongfaRoot;	  public RectTransform GongfaRoot	   {	   get{	      if (_GongfaRoot == null)	       {	         _GongfaRoot  = GetUIUnit<RectTransform>("GongfaRoot"); 	       }	      return _GongfaRoot;	     }	   }	  private Text _Text_Linggen;	  public Text Text_Linggen	   {	   get{	      if (_Text_Linggen == null)	       {	         _Text_Linggen  = GetUIUnit<Text>("Text_Linggen"); 	       }	      return _Text_Linggen;	     }	   }	  private Button _Btn_Player;	  public Button Btn_Player	   {	   get{	      if (_Btn_Player == null)	       {	         _Btn_Player  = GetUIUnit<Button>("Btn_Player"); 	       }	      return _Btn_Player;	     }	   }	  private Button _Btn_Cancel;	  public Button Btn_Cancel	   {	   get{	      if (_Btn_Cancel == null)	       {	         _Btn_Cancel  = GetUIUnit<Button>("Btn_Cancel"); 	       }	      return _Btn_Cancel;	     }	   }	  private Slider _Slider_Hp;	  public Slider Slider_Hp	   {	   get{	      if (_Slider_Hp == null)	       {	         _Slider_Hp  = GetUIUnit<Slider>("Slider_Hp"); 	       }	      return _Slider_Hp;	     }	   }	  private Text _Text_Hp;	  public Text Text_Hp	   {	   get{	      if (_Text_Hp == null)	       {	         _Text_Hp  = GetUIUnit<Text>("Text_Hp"); 	       }	      return _Text_Hp;	     }	   }	  private GameObject _Icon_Select;	  public GameObject Icon_Select	   {	   get{	      if (_Icon_Select == null)	       {	         _Icon_Select  = GetUIUnit<GameObject>("Icon_Select"); 	       }	      return _Icon_Select;	     }	   }	  private RectTransform _BossInfoHeadRoot;	  public RectTransform BossInfoHeadRoot	   {	   get{	      if (_BossInfoHeadRoot == null)	       {	         _BossInfoHeadRoot  = GetUIUnit<RectTransform>("BossInfoHeadRoot"); 	       }	      return _BossInfoHeadRoot;	     }	   }	  #endregion 自定义数据结束 	 public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)	{	 await base.SetUIGameObject(gObjectPoolInterface);	 Init();	}	}}
 |