123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class LevelChoosePanel
- {
- #region 自定义数据
- private Button _Btn_RenJie;
- public Button Btn_RenJie
- {
- get{
- if (_Btn_RenJie == null)
- {
- _Btn_RenJie = GetUIUnit<Button>("Btn_RenJie");
- }
- return _Btn_RenJie;
- }
- }
- private Button _Btn_Close;
- public Button Btn_Close
- {
- get{
- if (_Btn_Close == null)
- {
- _Btn_Close = GetUIUnit<Button>("Btn_Close");
- }
- return _Btn_Close;
- }
- }
- private RectTransform _MapRoot;
- public RectTransform MapRoot
- {
- get{
- if (_MapRoot == null)
- {
- _MapRoot = GetUIUnit<RectTransform>("MapRoot");
- }
- return _MapRoot;
- }
- }
- private RectTransform _PlacesRoot;
- public RectTransform PlacesRoot
- {
- get{
- if (_PlacesRoot == null)
- {
- _PlacesRoot = GetUIUnit<RectTransform>("PlacesRoot");
- }
- return _PlacesRoot;
- }
- }
- private GameObject _Sv1;
- public GameObject Sv1
- {
- get{
- if (_Sv1 == null)
- {
- _Sv1 = GetUIUnit<GameObject>("Sv1");
- }
- return _Sv1;
- }
- }
- private GameObject _Sv2;
- public GameObject Sv2
- {
- get{
- if (_Sv2 == null)
- {
- _Sv2 = GetUIUnit<GameObject>("Sv2");
- }
- return _Sv2;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|