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