123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class FaBaoAttributeWidget
- {
- #region 自定义数据
- private Text _Text_AttributeName;
- public Text Text_AttributeName
- {
- get{
- if (_Text_AttributeName == null)
- {
- _Text_AttributeName = GetUIUnit<Text>("Text_AttributeName");
- }
- return _Text_AttributeName;
- }
- }
- private Text _Text_AttributeValue;
- public Text Text_AttributeValue
- {
- get{
- if (_Text_AttributeValue == null)
- {
- _Text_AttributeValue = GetUIUnit<Text>("Text_AttributeValue");
- }
- return _Text_AttributeValue;
- }
- }
- private MyImage _Icon_AttributeIcon;
- public MyImage Icon_AttributeIcon
- {
- get{
- if (_Icon_AttributeIcon == null)
- {
- _Icon_AttributeIcon = GetUIUnit<MyImage>("Icon_AttributeIcon");
- }
- return _Icon_AttributeIcon;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|