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