123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class DaoYouInfoPanel
- {
- #region 自定义数据
- private GameObject _Info;
- public GameObject Info
- {
- get{
- if (_Info == null)
- {
- _Info = GetUIUnit<GameObject>("Info");
- }
- return _Info;
- }
- }
- private GameObject _Facorability;
- public GameObject Facorability
- {
- get{
- if (_Facorability == null)
- {
- _Facorability = GetUIUnit<GameObject>("Facorability");
- }
- return _Facorability;
- }
- }
- private Button _Btn_InfoMation;
- public Button Btn_InfoMation
- {
- get{
- if (_Btn_InfoMation == null)
- {
- _Btn_InfoMation = GetUIUnit<Button>("Btn_InfoMation");
- }
- return _Btn_InfoMation;
- }
- }
- private Button _Btn_Facorability;
- public Button Btn_Facorability
- {
- get{
- if (_Btn_Facorability == null)
- {
- _Btn_Facorability = GetUIUnit<Button>("Btn_Facorability");
- }
- return _Btn_Facorability;
- }
- }
- 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_JingJie;
- public Text Text_JingJie
- {
- get{
- if (_Text_JingJie == null)
- {
- _Text_JingJie = GetUIUnit<Text>("Text_JingJie");
- }
- return _Text_JingJie;
- }
- }
- private Button _Btn_SendGift;
- public Button Btn_SendGift
- {
- get{
- if (_Btn_SendGift == null)
- {
- _Btn_SendGift = GetUIUnit<Button>("Btn_SendGift");
- }
- return _Btn_SendGift;
- }
- }
- private RectTransform _DaoYouLevelWidgetContent;
- public RectTransform DaoYouLevelWidgetContent
- {
- get{
- if (_DaoYouLevelWidgetContent == null)
- {
- _DaoYouLevelWidgetContent = GetUIUnit<RectTransform>("DaoYouLevelWidgetContent");
- }
- return _DaoYouLevelWidgetContent;
- }
- }
- private Text _Text_CurrentLevel;
- public Text Text_CurrentLevel
- {
- get{
- if (_Text_CurrentLevel == null)
- {
- _Text_CurrentLevel = GetUIUnit<Text>("Text_CurrentLevel");
- }
- return _Text_CurrentLevel;
- }
- }
- private Text _Text_CurrentName;
- public Text Text_CurrentName
- {
- get{
- if (_Text_CurrentName == null)
- {
- _Text_CurrentName = GetUIUnit<Text>("Text_CurrentName");
- }
- return _Text_CurrentName;
- }
- }
- private Text _Text_Exp;
- public Text Text_Exp
- {
- get{
- if (_Text_Exp == null)
- {
- _Text_Exp = GetUIUnit<Text>("Text_Exp");
- }
- return _Text_Exp;
- }
- }
- private Slider _Slider_LeveUp;
- public Slider Slider_LeveUp
- {
- get{
- if (_Slider_LeveUp == null)
- {
- _Slider_LeveUp = GetUIUnit<Slider>("Slider_LeveUp");
- }
- return _Slider_LeveUp;
- }
- }
- private Text _Text_Desc;
- public Text Text_Desc
- {
- get{
- if (_Text_Desc == null)
- {
- _Text_Desc = GetUIUnit<Text>("Text_Desc");
- }
- return _Text_Desc;
- }
- }
- private RectTransform _LoveItemContent;
- public RectTransform LoveItemContent
- {
- get{
- if (_LoveItemContent == null)
- {
- _LoveItemContent = GetUIUnit<RectTransform>("LoveItemContent");
- }
- return _LoveItemContent;
- }
- }
- private RectTransform _GuajiContent;
- public RectTransform GuajiContent
- {
- get{
- if (_GuajiContent == null)
- {
- _GuajiContent = GetUIUnit<RectTransform>("GuajiContent");
- }
- return _GuajiContent;
- }
- }
- private RectTransform _DaoLvContent;
- public RectTransform DaoLvContent
- {
- get{
- if (_DaoLvContent == null)
- {
- _DaoLvContent = GetUIUnit<RectTransform>("DaoLvContent");
- }
- return _DaoLvContent;
- }
- }
- private GameObject _GiveGite;
- public GameObject GiveGite
- {
- get{
- if (_GiveGite == null)
- {
- _GiveGite = GetUIUnit<GameObject>("GiveGite");
- }
- return _GiveGite;
- }
- }
- private Button _Btn_Back;
- public Button Btn_Back
- {
- get{
- if (_Btn_Back == null)
- {
- _Btn_Back = GetUIUnit<Button>("Btn_Back");
- }
- return _Btn_Back;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|