123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class SelectBreakthroughItemPanel
- {
- #region 自定义数据
- private Text _Text_SucceedDesc;
- public Text Text_SucceedDesc
- {
- get{
- if (_Text_SucceedDesc == null)
- {
- _Text_SucceedDesc = GetUIUnit<Text>("Text_SucceedDesc");
- }
- return _Text_SucceedDesc;
- }
- }
- private Text _Text_FailDesc;
- public Text Text_FailDesc
- {
- get{
- if (_Text_FailDesc == null)
- {
- _Text_FailDesc = GetUIUnit<Text>("Text_FailDesc");
- }
- return _Text_FailDesc;
- }
- }
- private Button _Btn_Cancel;
- public Button Btn_Cancel
- {
- get{
- if (_Btn_Cancel == null)
- {
- _Btn_Cancel = GetUIUnit<Button>("Btn_Cancel");
- }
- return _Btn_Cancel;
- }
- }
- private Button _Btn_Affirm;
- public Button Btn_Affirm
- {
- get{
- if (_Btn_Affirm == null)
- {
- _Btn_Affirm = GetUIUnit<Button>("Btn_Affirm");
- }
- return _Btn_Affirm;
- }
- }
- private Text _Text_ItemName;
- public Text Text_ItemName
- {
- get{
- if (_Text_ItemName == null)
- {
- _Text_ItemName = GetUIUnit<Text>("Text_ItemName");
- }
- return _Text_ItemName;
- }
- }
- private MyImage _Icon_ItemIcon;
- public MyImage Icon_ItemIcon
- {
- get{
- if (_Icon_ItemIcon == null)
- {
- _Icon_ItemIcon = GetUIUnit<MyImage>("Icon_ItemIcon");
- }
- return _Icon_ItemIcon;
- }
- }
- private Text _Text_ItemDesc;
- public Text Text_ItemDesc
- {
- get{
- if (_Text_ItemDesc == null)
- {
- _Text_ItemDesc = GetUIUnit<Text>("Text_ItemDesc");
- }
- return _Text_ItemDesc;
- }
- }
- private Text _Text_NoEnough;
- public Text Text_NoEnough
- {
- get{
- if (_Text_NoEnough == null)
- {
- _Text_NoEnough = GetUIUnit<Text>("Text_NoEnough");
- }
- return _Text_NoEnough;
- }
- }
- 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_Affirm;
- public Text Text_Affirm
- {
- get{
- if (_Text_Affirm == null)
- {
- _Text_Affirm = GetUIUnit<Text>("Text_Affirm");
- }
- return _Text_Affirm;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|