123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- 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;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|