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