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