1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class SelectElixirPanel
- {
- #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 RectTransform _Content;
- public RectTransform Content
- {
- get{
- if (_Content == null)
- {
- _Content = GetUIUnit<RectTransform>("Content");
- }
- return _Content;
- }
- }
- 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 Button _Btn_Close;
- public Button Btn_Close
- {
- get{
- if (_Btn_Close == null)
- {
- _Btn_Close = GetUIUnit<Button>("Btn_Close");
- }
- return _Btn_Close;
- }
- }
- private GameObject _Icon_Select;
- public GameObject Icon_Select
- {
- get{
- if (_Icon_Select == null)
- {
- _Icon_Select = GetUIUnit<GameObject>("Icon_Select");
- }
- return _Icon_Select;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|