123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class HeroInformationPanel
- {
- #region 自定义数据
- private Text _Text_Jingjie;
- public Text Text_Jingjie
- {
- get{
- if (_Text_Jingjie == null)
- {
- _Text_Jingjie = GetUIUnit<Text>("Text_Jingjie");
- }
- return _Text_Jingjie;
- }
- }
- private Text _Text_Speed;
- public Text Text_Speed
- {
- get{
- if (_Text_Speed == null)
- {
- _Text_Speed = GetUIUnit<Text>("Text_Speed");
- }
- return _Text_Speed;
- }
- }
- private Text _Text_exp;
- public Text Text_exp
- {
- get{
- if (_Text_exp == null)
- {
- _Text_exp = GetUIUnit<Text>("Text_exp");
- }
- return _Text_exp;
- }
- }
- private Text _Text_Level;
- public Text Text_Level
- {
- get{
- if (_Text_Level == null)
- {
- _Text_Level = GetUIUnit<Text>("Text_Level");
- }
- return _Text_Level;
- }
- }
- private Slider _Slider_Exp;
- public Slider Slider_Exp
- {
- get{
- if (_Slider_Exp == null)
- {
- _Slider_Exp = GetUIUnit<Slider>("Slider_Exp");
- }
- return _Slider_Exp;
- }
- }
- private Button _Btn_TuPo;
- public Button Btn_TuPo
- {
- get{
- if (_Btn_TuPo == null)
- {
- _Btn_TuPo = GetUIUnit<Button>("Btn_TuPo");
- }
- return _Btn_TuPo;
- }
- }
- private Button _Btn_Dujie;
- public Button Btn_Dujie
- {
- get{
- if (_Btn_Dujie == null)
- {
- _Btn_Dujie = GetUIUnit<Button>("Btn_Dujie");
- }
- return _Btn_Dujie;
- }
- }
- private Button _Btn_DanYao;
- public Button Btn_DanYao
- {
- get{
- if (_Btn_DanYao == null)
- {
- _Btn_DanYao = GetUIUnit<Button>("Btn_DanYao");
- }
- return _Btn_DanYao;
- }
- }
- private Button _Btn_Close;
- public Button Btn_Close
- {
- get{
- if (_Btn_Close == null)
- {
- _Btn_Close = GetUIUnit<Button>("Btn_Close");
- }
- return _Btn_Close;
- }
- }
- private RectTransform _HeroRoot;
- public RectTransform HeroRoot
- {
- get{
- if (_HeroRoot == null)
- {
- _HeroRoot = GetUIUnit<RectTransform>("HeroRoot");
- }
- return _HeroRoot;
- }
- }
- private RectTransform _AttributeRoot;
- public RectTransform AttributeRoot
- {
- get{
- if (_AttributeRoot == null)
- {
- _AttributeRoot = GetUIUnit<RectTransform>("AttributeRoot");
- }
- return _AttributeRoot;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|