using Fort23.Core; using Fort23.UTool; using UnityEngine.UI; using UnityEngine; using System.Collections.Generic; namespace Fort23.Mono { public partial class BossInfoHeadWidget { #region 自定义数据 private Text _Text_Name; public Text Text_Name { get{ if (_Text_Name == null) { _Text_Name = GetUIUnit("Text_Name"); } return _Text_Name; } } private MyImage _Icon_Boss; public MyImage Icon_Boss { get{ if (_Icon_Boss == null) { _Icon_Boss = GetUIUnit("Icon_Boss"); } return _Icon_Boss; } } #endregion 自定义数据结束 public override async CTask SetUIGameObject(GameObject gObjectPoolInterface) { await base.SetUIGameObject(gObjectPoolInterface); Init(); } } }