| 12345678910111213141516171819202122232425262728293031323334353637383940 | using Fort23.Core;using Fort23.UTool;using UnityEngine.UI;using UnityEngine;using System.Collections.Generic;namespace Fort23.Mono{	public partial class CombatHPPanel 	{	  #region 自定义数据 	  private GameObject _HeroHpWidget;	  public GameObject HeroHpWidget	   {	   get{	      if (_HeroHpWidget == null)	       {	         _HeroHpWidget  = GetUIUnit<GameObject>("HeroHpWidget"); 	       }	      return _HeroHpWidget;	     }	   }	  private RectTransform _TargetFocus;	  public RectTransform TargetFocus	   {	   get{	      if (_TargetFocus == null)	       {	         _TargetFocus  = GetUIUnit<RectTransform>("TargetFocus"); 	       }	      return _TargetFocus;	     }	   }	  #endregion 自定义数据结束 	 public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)	{	 await base.SetUIGameObject(gObjectPoolInterface);	 Init();	}	}}
 |