1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class GongFaUpgradeInfoWidget
- {
- #region 自定义数据
- private List<MyImage> _StarRoot;
- public List<MyImage> StarRoot
- {
- get{
- if (_StarRoot == null)
- {
- _StarRoot = GetUIUnit<List<MyImage>>("StarRoot");
- }
- return _StarRoot;
- }
- }
- private Text _Text_Desc;
- public Text Text_Desc
- {
- get{
- if (_Text_Desc == null)
- {
- _Text_Desc = GetUIUnit<Text>("Text_Desc");
- }
- return _Text_Desc;
- }
- }
- private MyImage _Icon_Select;
- public MyImage Icon_Select
- {
- get{
- if (_Icon_Select == null)
- {
- _Icon_Select = GetUIUnit<MyImage>("Icon_Select");
- }
- return _Icon_Select;
- }
- }
- private GameObject _Icon_Marsk;
- public GameObject Icon_Marsk
- {
- get{
- if (_Icon_Marsk == null)
- {
- _Icon_Marsk = GetUIUnit<GameObject>("Icon_Marsk");
- }
- return _Icon_Marsk;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|