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