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