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