123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class SkillInfopanel
- {
- #region 自定义数据
- private Button _Btn_Close;
- public Button Btn_Close
- {
- get{
- if (_Btn_Close == null)
- {
- _Btn_Close = GetUIUnit<Button>("Btn_Close");
- }
- return _Btn_Close;
- }
- }
- private Text _Text_Name;
- public Text Text_Name
- {
- get{
- if (_Text_Name == null)
- {
- _Text_Name = GetUIUnit<Text>("Text_Name");
- }
- return _Text_Name;
- }
- }
- private Text _Text_Level;
- public Text Text_Level
- {
- get{
- if (_Text_Level == null)
- {
- _Text_Level = GetUIUnit<Text>("Text_Level");
- }
- return _Text_Level;
- }
- }
- private Text _Text_tip;
- public Text Text_tip
- {
- get{
- if (_Text_tip == null)
- {
- _Text_tip = GetUIUnit<Text>("Text_tip");
- }
- return _Text_tip;
- }
- }
- private Text _Text_Power;
- public Text Text_Power
- {
- get{
- if (_Text_Power == null)
- {
- _Text_Power = GetUIUnit<Text>("Text_Power");
- }
- return _Text_Power;
- }
- }
- private Text _Text_massge;
- public Text Text_massge
- {
- get{
- if (_Text_massge == null)
- {
- _Text_massge = GetUIUnit<Text>("Text_massge");
- }
- return _Text_massge;
- }
- }
- private Text _Text_Tag;
- public Text Text_Tag
- {
- get{
- if (_Text_Tag == null)
- {
- _Text_Tag = GetUIUnit<Text>("Text_Tag");
- }
- return _Text_Tag;
- }
- }
- private GameObject _StarRootGam;
- public GameObject StarRootGam
- {
- get{
- if (_StarRootGam == null)
- {
- _StarRootGam = GetUIUnit<GameObject>("StarRootGam");
- }
- return _StarRootGam;
- }
- }
- private List<MyImage> _StarRoot;
- public List<MyImage> StarRoot
- {
- get{
- if (_StarRoot == null)
- {
- _StarRoot = GetUIUnit<List<MyImage>>("StarRoot");
- }
- return _StarRoot;
- }
- }
- private MyImage _Icon_SkillIcon;
- public MyImage Icon_SkillIcon
- {
- get{
- if (_Icon_SkillIcon == null)
- {
- _Icon_SkillIcon = GetUIUnit<MyImage>("Icon_SkillIcon");
- }
- return _Icon_SkillIcon;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|