1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- 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;
- }
- }
- private Text _Text_NextAttributeValue;
- public Text Text_NextAttributeValue
- {
- get{
- if (_Text_NextAttributeValue == null)
- {
- _Text_NextAttributeValue = GetUIUnit<Text>("Text_NextAttributeValue");
- }
- return _Text_NextAttributeValue;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|