123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class SelectFaBaoPanel
- {
- #region 自定义数据
- private MyImage _Icon_Attribute;
- public MyImage Icon_Attribute
- {
- get{
- if (_Icon_Attribute == null)
- {
- _Icon_Attribute = GetUIUnit<MyImage>("Icon_Attribute");
- }
- return _Icon_Attribute;
- }
- }
- private Text _Text_Attribute;
- public Text Text_Attribute
- {
- get{
- if (_Text_Attribute == null)
- {
- _Text_Attribute = GetUIUnit<Text>("Text_Attribute");
- }
- return _Text_Attribute;
- }
- }
- private Text _Text_FaBaoName;
- public Text Text_FaBaoName
- {
- get{
- if (_Text_FaBaoName == null)
- {
- _Text_FaBaoName = GetUIUnit<Text>("Text_FaBaoName");
- }
- return _Text_FaBaoName;
- }
- }
- 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_Desc;
- public Text Text_Desc
- {
- get{
- if (_Text_Desc == null)
- {
- _Text_Desc = GetUIUnit<Text>("Text_Desc");
- }
- return _Text_Desc;
- }
- }
- private MyImage _Icon_FaBaoIcon;
- public MyImage Icon_FaBaoIcon
- {
- get{
- if (_Icon_FaBaoIcon == null)
- {
- _Icon_FaBaoIcon = GetUIUnit<MyImage>("Icon_FaBaoIcon");
- }
- return _Icon_FaBaoIcon;
- }
- }
- private RectTransform _CurrentFaBaoRoot;
- public RectTransform CurrentFaBaoRoot
- {
- get{
- if (_CurrentFaBaoRoot == null)
- {
- _CurrentFaBaoRoot = GetUIUnit<RectTransform>("CurrentFaBaoRoot");
- }
- return _CurrentFaBaoRoot;
- }
- }
- private GameObject _equipTipsRoot;
- public GameObject equipTipsRoot
- {
- get{
- if (_equipTipsRoot == null)
- {
- _equipTipsRoot = GetUIUnit<GameObject>("equipTipsRoot");
- }
- return _equipTipsRoot;
- }
- }
- private RectTransform _Content;
- public RectTransform Content
- {
- get{
- if (_Content == null)
- {
- _Content = GetUIUnit<RectTransform>("Content");
- }
- return _Content;
- }
- }
- private Button _Btn_Close;
- public Button Btn_Close
- {
- get{
- if (_Btn_Close == null)
- {
- _Btn_Close = GetUIUnit<Button>("Btn_Close");
- }
- return _Btn_Close;
- }
- }
- private RectTransform _FaBaoAttributeWidgetRoot;
- public RectTransform FaBaoAttributeWidgetRoot
- {
- get{
- if (_FaBaoAttributeWidgetRoot == null)
- {
- _FaBaoAttributeWidgetRoot = GetUIUnit<RectTransform>("FaBaoAttributeWidgetRoot");
- }
- return _FaBaoAttributeWidgetRoot;
- }
- }
- private Button _Btn_UpGrade;
- public Button Btn_UpGrade
- {
- get{
- if (_Btn_UpGrade == null)
- {
- _Btn_UpGrade = GetUIUnit<Button>("Btn_UpGrade");
- }
- return _Btn_UpGrade;
- }
- }
- private Button _Btn_PeiYang;
- public Button Btn_PeiYang
- {
- get{
- if (_Btn_PeiYang == null)
- {
- _Btn_PeiYang = GetUIUnit<Button>("Btn_PeiYang");
- }
- return _Btn_PeiYang;
- }
- }
- private Button _Btn_Change;
- public Button Btn_Change
- {
- get{
- if (_Btn_Change == null)
- {
- _Btn_Change = GetUIUnit<Button>("Btn_Change");
- }
- return _Btn_Change;
- }
- }
- private GameObject _FaBaoInfoRoot;
- public GameObject FaBaoInfoRoot
- {
- get{
- if (_FaBaoInfoRoot == null)
- {
- _FaBaoInfoRoot = GetUIUnit<GameObject>("FaBaoInfoRoot");
- }
- return _FaBaoInfoRoot;
- }
- }
- private Text _Text_NoFabaoTips;
- public Text Text_NoFabaoTips
- {
- get{
- if (_Text_NoFabaoTips == null)
- {
- _Text_NoFabaoTips = GetUIUnit<Text>("Text_NoFabaoTips");
- }
- return _Text_NoFabaoTips;
- }
- }
- private Button _Btn_Cancel;
- public Button Btn_Cancel
- {
- get{
- if (_Btn_Cancel == null)
- {
- _Btn_Cancel = GetUIUnit<Button>("Btn_Cancel");
- }
- return _Btn_Cancel;
- }
- }
- private GameObject _BtnUpGradeRoot;
- public GameObject BtnUpGradeRoot
- {
- get{
- if (_BtnUpGradeRoot == null)
- {
- _BtnUpGradeRoot = GetUIUnit<GameObject>("BtnUpGradeRoot");
- }
- return _BtnUpGradeRoot;
- }
- }
- private GameObject _BtnChangeRoot;
- public GameObject BtnChangeRoot
- {
- get{
- if (_BtnChangeRoot == null)
- {
- _BtnChangeRoot = GetUIUnit<GameObject>("BtnChangeRoot");
- }
- return _BtnChangeRoot;
- }
- }
- private RectTransform _NoFaBagRoot;
- public RectTransform NoFaBagRoot
- {
- get{
- if (_NoFaBagRoot == null)
- {
- _NoFaBagRoot = GetUIUnit<RectTransform>("NoFaBagRoot");
- }
- return _NoFaBagRoot;
- }
- }
- private Text _Text_NextLv;
- public Text Text_NextLv
- {
- get{
- if (_Text_NextLv == null)
- {
- _Text_NextLv = GetUIUnit<Text>("Text_NextLv");
- }
- return _Text_NextLv;
- }
- }
- private Text _Text_NextPower;
- public Text Text_NextPower
- {
- get{
- if (_Text_NextPower == null)
- {
- _Text_NextPower = GetUIUnit<Text>("Text_NextPower");
- }
- return _Text_NextPower;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|