123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- 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;
- }
- }
- private Button _Btn_HeroInfomation;
- public Button Btn_HeroInfomation
- {
- get{
- if (_Btn_HeroInfomation == null)
- {
- _Btn_HeroInfomation = GetUIUnit<Button>("Btn_HeroInfomation");
- }
- return _Btn_HeroInfomation;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|