| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 | using Fort23.Core;using Fort23.UTool;using UnityEngine.UI;using UnityEngine;using System.Collections.Generic;namespace Fort23.Mono{	public partial class ComBatFrontPanel 	{	  #region 自定义数据 	  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 Button _Btn_Cancel;	  public Button Btn_Cancel	   {	   get{	      if (_Btn_Cancel == null)	       {	         _Btn_Cancel  = GetUIUnit<Button>("Btn_Cancel"); 	       }	      return _Btn_Cancel;	     }	   }	  private CustomStateController _csc;	  public CustomStateController csc	   {	   get{	      if (_csc == null)	       {	         _csc  = GetUIUnit<CustomStateController>("csc"); 	       }	      return _csc;	     }	   }	  private GameObject _ComBatFrontWidgetHero;	  public GameObject ComBatFrontWidgetHero	   {	   get{	      if (_ComBatFrontWidgetHero == null)	       {	         _ComBatFrontWidgetHero  = GetUIUnit<GameObject>("ComBatFrontWidgetHero"); 	       }	      return _ComBatFrontWidgetHero;	     }	   }	  private GameObject _ComBatFrontWidgetMonster;	  public GameObject ComBatFrontWidgetMonster	   {	   get{	      if (_ComBatFrontWidgetMonster == null)	       {	         _ComBatFrontWidgetMonster  = GetUIUnit<GameObject>("ComBatFrontWidgetMonster"); 	       }	      return _ComBatFrontWidgetMonster;	     }	   }	  #endregion 自定义数据结束 	 public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)	{	 await base.SetUIGameObject(gObjectPoolInterface);	 Init();	}	}}
 |