123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class FaBaoWidget
- {
- #region 自定义数据
- private MyImage _Icon_FaBaoIcon;
- public MyImage Icon_FaBaoIcon
- {
- get{
- if (_Icon_FaBaoIcon == null)
- {
- _Icon_FaBaoIcon = GetUIUnit<MyImage>("Icon_FaBaoIcon");
- }
- return _Icon_FaBaoIcon;
- }
- }
- private Text _Text_Level;
- public Text Text_Level
- {
- get{
- if (_Text_Level == null)
- {
- _Text_Level = GetUIUnit<Text>("Text_Level");
- }
- return _Text_Level;
- }
- }
- private MyImage _Iocn_Active;
- public MyImage Iocn_Active
- {
- get{
- if (_Iocn_Active == null)
- {
- _Iocn_Active = GetUIUnit<MyImage>("Iocn_Active");
- }
- return _Iocn_Active;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|