123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class HeroAttributeWidget
- {
- #region 自定义数据
- private Text _Text_Name;
- public Text Text_Name
- {
- get{
- if (_Text_Name == null)
- {
- _Text_Name = GetUIUnit<Text>("Text_Name");
- }
- return _Text_Name;
- }
- }
- private Text _Text_Value;
- public Text Text_Value
- {
- get{
- if (_Text_Value == null)
- {
- _Text_Value = GetUIUnit<Text>("Text_Value");
- }
- return _Text_Value;
- }
- }
- private Text _Text_NextValue;
- public Text Text_NextValue
- {
- get{
- if (_Text_NextValue == null)
- {
- _Text_NextValue = GetUIUnit<Text>("Text_NextValue");
- }
- return _Text_NextValue;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|