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("HeroHpWidget"); } return _HeroHpWidget; } } #endregion 自定义数据结束 public override async CTask SetUIGameObject(GameObject gObjectPoolInterface) { await base.SetUIGameObject(gObjectPoolInterface); Init(); } } }