12345678910111213141516171819202122232425262728293031 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- using TMPro;
- namespace Fort23.Mono
- {
- public partial class HeroUpTxtEft
- {
- #region 自定义数据
- private TextMeshProUGUI _txtEft;
- public TextMeshProUGUI txtEft
- {
- get{
- if (_txtEft == null)
- {
- _txtEft = GetUIUnit<TextMeshProUGUI>("txtEft");
- }
- return _txtEft;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|