| 12345678910111213141516171819202122232425262728293031323334353637383940414243 | 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<TextMeshProUGUI>("text"); 	       }	      return _text;	     }	   }	  private UITweenController _anim;	  public UITweenController anim	   {	   get{	      if (_anim == null)	       {	         _anim  = GetUIUnit<UITweenController>("anim"); 	       }	      return _anim;	     }	   }	  #endregion 自定义数据结束 	 public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)	{	 await base.SetUIGameObject(gObjectPoolInterface);	 Init();	}	}}
 |