123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- 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;
- }
- }
- private Text _Text_WorldMapName;
- public Text Text_WorldMapName
- {
- get{
- if (_Text_WorldMapName == null)
- {
- _Text_WorldMapName = GetUIUnit<Text>("Text_WorldMapName");
- }
- return _Text_WorldMapName;
- }
- }
- private Text _Text_PlacesComplteProgress;
- public Text Text_PlacesComplteProgress
- {
- get{
- if (_Text_PlacesComplteProgress == null)
- {
- _Text_PlacesComplteProgress = GetUIUnit<Text>("Text_PlacesComplteProgress");
- }
- return _Text_PlacesComplteProgress;
- }
- }
- private RectTransform _Rect_BiaoJi;
- public RectTransform Rect_BiaoJi
- {
- get{
- if (_Rect_BiaoJi == null)
- {
- _Rect_BiaoJi = GetUIUnit<RectTransform>("Rect_BiaoJi");
- }
- return _Rect_BiaoJi;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|