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