1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class MainPanel
- {
- #region 自定义数据
- private Button _bnt_shengShi;
- public Button bnt_shengShi
- {
- get{
- if (_bnt_shengShi == null)
- {
- _bnt_shengShi = GetUIUnit<Button>("bnt_shengShi");
- }
- return _bnt_shengShi;
- }
- }
- private RectTransform _DynamicEvent;
- public RectTransform DynamicEvent
- {
- get{
- if (_DynamicEvent == null)
- {
- _DynamicEvent = GetUIUnit<RectTransform>("DynamicEvent");
- }
- return _DynamicEvent;
- }
- }
- private Text _Text_divineSensePoint;
- public Text Text_divineSensePoint
- {
- get{
- if (_Text_divineSensePoint == null)
- {
- _Text_divineSensePoint = GetUIUnit<Text>("Text_divineSensePoint");
- }
- return _Text_divineSensePoint;
- }
- }
- private Text _Text_ExplorationProgress;
- public Text Text_ExplorationProgress
- {
- get{
- if (_Text_ExplorationProgress == null)
- {
- _Text_ExplorationProgress = GetUIUnit<Text>("Text_ExplorationProgress");
- }
- return _Text_ExplorationProgress;
- }
- }
- private Slider _CameraSelect;
- public Slider CameraSelect
- {
- get{
- if (_CameraSelect == null)
- {
- _CameraSelect = GetUIUnit<Slider>("CameraSelect");
- }
- return _CameraSelect;
- }
- }
- private Button _Btn_Event;
- public Button Btn_Event
- {
- get{
- if (_Btn_Event == null)
- {
- _Btn_Event = GetUIUnit<Button>("Btn_Event");
- }
- return _Btn_Event;
- }
- }
- private Text _Text_EventNum;
- public Text Text_EventNum
- {
- get{
- if (_Text_EventNum == null)
- {
- _Text_EventNum = GetUIUnit<Text>("Text_EventNum");
- }
- return _Text_EventNum;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|