123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class BattleSettlementPanel
- {
- #region 自定义数据
- 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_Desc;
- public Text Text_Desc
- {
- get{
- if (_Text_Desc == null)
- {
- _Text_Desc = GetUIUnit<Text>("Text_Desc");
- }
- return _Text_Desc;
- }
- }
- private Text _Text_Settlement;
- public Text Text_Settlement
- {
- get{
- if (_Text_Settlement == null)
- {
- _Text_Settlement = GetUIUnit<Text>("Text_Settlement");
- }
- return _Text_Settlement;
- }
- }
- private GameObject _WinRoot;
- public GameObject WinRoot
- {
- get{
- if (_WinRoot == null)
- {
- _WinRoot = GetUIUnit<GameObject>("WinRoot");
- }
- return _WinRoot;
- }
- }
- private GameObject _AwardRoot;
- public GameObject AwardRoot
- {
- get{
- if (_AwardRoot == null)
- {
- _AwardRoot = GetUIUnit<GameObject>("AwardRoot");
- }
- return _AwardRoot;
- }
- }
- private GameObject _FailRoot;
- public GameObject FailRoot
- {
- get{
- if (_FailRoot == null)
- {
- _FailRoot = GetUIUnit<GameObject>("FailRoot");
- }
- return _FailRoot;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|