| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194 | 
							- using Fort23.Core;
 
- using Fort23.UTool;
 
- using UnityEngine.UI;
 
- using UnityEngine;
 
- using System.Collections.Generic;
 
- namespace Fort23.Mono
 
- {
 
- 	public partial class CombatPanel 
 
- 	{
 
- 	  #region 自定义数据 
 
- 	  private Slider _CameraSelect;
 
- 	  public Slider CameraSelect
 
- 	   {
 
- 	   get{
 
- 	      if (_CameraSelect == null)
 
- 	       {
 
- 	         _CameraSelect  = GetUIUnit<Slider>("CameraSelect"); 
 
- 	       }
 
- 	      return _CameraSelect;
 
- 	     }
 
- 	   }
 
- 	  private Button _bnt_shengShi;
 
- 	  public Button bnt_shengShi
 
- 	   {
 
- 	   get{
 
- 	      if (_bnt_shengShi == null)
 
- 	       {
 
- 	         _bnt_shengShi  = GetUIUnit<Button>("bnt_shengShi"); 
 
- 	       }
 
- 	      return _bnt_shengShi;
 
- 	     }
 
- 	   }
 
- 	  private GameObject _PlayerHpWidget;
 
- 	  public GameObject PlayerHpWidget
 
- 	   {
 
- 	   get{
 
- 	      if (_PlayerHpWidget == null)
 
- 	       {
 
- 	         _PlayerHpWidget  = GetUIUnit<GameObject>("PlayerHpWidget"); 
 
- 	       }
 
- 	      return _PlayerHpWidget;
 
- 	     }
 
- 	   }
 
- 	  private RectTransform _DynamicEvent;
 
- 	  public RectTransform DynamicEvent
 
- 	   {
 
- 	   get{
 
- 	      if (_DynamicEvent == null)
 
- 	       {
 
- 	         _DynamicEvent  = GetUIUnit<RectTransform>("DynamicEvent"); 
 
- 	       }
 
- 	      return _DynamicEvent;
 
- 	     }
 
- 	   }
 
- 	  private GameObject _ShengShiEventWidget;
 
- 	  public GameObject ShengShiEventWidget
 
- 	   {
 
- 	   get{
 
- 	      if (_ShengShiEventWidget == null)
 
- 	       {
 
- 	         _ShengShiEventWidget  = GetUIUnit<GameObject>("ShengShiEventWidget"); 
 
- 	       }
 
- 	      return _ShengShiEventWidget;
 
- 	     }
 
- 	   }
 
- 	  private GameObject _MagicWeaponWidget;
 
- 	  public GameObject MagicWeaponWidget
 
- 	   {
 
- 	   get{
 
- 	      if (_MagicWeaponWidget == null)
 
- 	       {
 
- 	         _MagicWeaponWidget  = GetUIUnit<GameObject>("MagicWeaponWidget"); 
 
- 	       }
 
- 	      return _MagicWeaponWidget;
 
- 	     }
 
- 	   }
 
- 	  private RectTransform _MagicWeapon;
 
- 	  public RectTransform MagicWeapon
 
- 	   {
 
- 	   get{
 
- 	      if (_MagicWeapon == null)
 
- 	       {
 
- 	         _MagicWeapon  = GetUIUnit<RectTransform>("MagicWeapon"); 
 
- 	       }
 
- 	      return _MagicWeapon;
 
- 	     }
 
- 	   }
 
- 	  private Toggle _AutoUse;
 
- 	  public Toggle AutoUse
 
- 	   {
 
- 	   get{
 
- 	      if (_AutoUse == null)
 
- 	       {
 
- 	         _AutoUse  = GetUIUnit<Toggle>("AutoUse"); 
 
- 	       }
 
- 	      return _AutoUse;
 
- 	     }
 
- 	   }
 
- 	  private GameObject _ZhuanPanPanel;
 
- 	  public GameObject ZhuanPanPanel
 
- 	   {
 
- 	   get{
 
- 	      if (_ZhuanPanPanel == null)
 
- 	       {
 
- 	         _ZhuanPanPanel  = GetUIUnit<GameObject>("ZhuanPanPanel"); 
 
- 	       }
 
- 	      return _ZhuanPanPanel;
 
- 	     }
 
- 	   }
 
- 	  private GameObject _UseQuqueSkill;
 
- 	  public GameObject UseQuqueSkill
 
- 	   {
 
- 	   get{
 
- 	      if (_UseQuqueSkill == null)
 
- 	       {
 
- 	         _UseQuqueSkill  = GetUIUnit<GameObject>("UseQuqueSkill"); 
 
- 	       }
 
- 	      return _UseQuqueSkill;
 
- 	     }
 
- 	   }
 
- 	  private RectTransform _UseQuqueSkillRoot;
 
- 	  public RectTransform UseQuqueSkillRoot
 
- 	   {
 
- 	   get{
 
- 	      if (_UseQuqueSkillRoot == null)
 
- 	       {
 
- 	         _UseQuqueSkillRoot  = GetUIUnit<RectTransform>("UseQuqueSkillRoot"); 
 
- 	       }
 
- 	      return _UseQuqueSkillRoot;
 
- 	     }
 
- 	   }
 
- 	  private GameObject _BossHpWidget;
 
- 	  public GameObject BossHpWidget
 
- 	   {
 
- 	   get{
 
- 	      if (_BossHpWidget == null)
 
- 	       {
 
- 	         _BossHpWidget  = GetUIUnit<GameObject>("BossHpWidget"); 
 
- 	       }
 
- 	      return _BossHpWidget;
 
- 	     }
 
- 	   }
 
- 	  private RectTransform _BossHpRoot;
 
- 	  public RectTransform BossHpRoot
 
- 	   {
 
- 	   get{
 
- 	      if (_BossHpRoot == null)
 
- 	       {
 
- 	         _BossHpRoot  = GetUIUnit<RectTransform>("BossHpRoot"); 
 
- 	       }
 
- 	      return _BossHpRoot;
 
- 	     }
 
- 	   }
 
- 	  private GameObject _FaBaoSkillNameWidget;
 
- 	  public GameObject FaBaoSkillNameWidget
 
- 	   {
 
- 	   get{
 
- 	      if (_FaBaoSkillNameWidget == null)
 
- 	       {
 
- 	         _FaBaoSkillNameWidget  = GetUIUnit<GameObject>("FaBaoSkillNameWidget"); 
 
- 	       }
 
- 	      return _FaBaoSkillNameWidget;
 
- 	     }
 
- 	   }
 
- 	  private RectTransform _FaBaoSkillDec;
 
- 	  public RectTransform FaBaoSkillDec
 
- 	   {
 
- 	   get{
 
- 	      if (_FaBaoSkillDec == null)
 
- 	       {
 
- 	         _FaBaoSkillDec  = GetUIUnit<RectTransform>("FaBaoSkillDec"); 
 
- 	       }
 
- 	      return _FaBaoSkillDec;
 
- 	     }
 
- 	   }
 
- 	  private Button _ZhanTing;
 
- 	  public Button ZhanTing
 
- 	   {
 
- 	   get{
 
- 	      if (_ZhanTing == null)
 
- 	       {
 
- 	         _ZhanTing  = GetUIUnit<Button>("ZhanTing"); 
 
- 	       }
 
- 	      return _ZhanTing;
 
- 	     }
 
- 	   }
 
- 	  #endregion 自定义数据结束 
 
- 	 public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
 
- 	{
 
- 	 await base.SetUIGameObject(gObjectPoolInterface);
 
- 	 Init();
 
- 	}
 
- 	}
 
- }
 
 
  |