123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227 |
- using Fort23.Core;
- using Fort23.UTool;
- using UnityEngine.UI;
- using UnityEngine;
- using System.Collections.Generic;
- namespace Fort23.Mono
- {
- public partial class XianTuLogPanel
- {
- #region 自定义数据
- private ScrollList _Content;
- public ScrollList Content
- {
- get{
- if (_Content == null)
- {
- _Content = GetUIUnit<ScrollList>("Content");
- }
- return _Content;
- }
- }
- private Button _Btn_Close;
- public Button Btn_Close
- {
- get{
- if (_Btn_Close == null)
- {
- _Btn_Close = GetUIUnit<Button>("Btn_Close");
- }
- return _Btn_Close;
- }
- }
- private Button _Btn_Main;
- public Button Btn_Main
- {
- get{
- if (_Btn_Main == null)
- {
- _Btn_Main = GetUIUnit<Button>("Btn_Main");
- }
- return _Btn_Main;
- }
- }
- private Button _Btn_Event;
- public Button Btn_Event
- {
- get{
- if (_Btn_Event == null)
- {
- _Btn_Event = GetUIUnit<Button>("Btn_Event");
- }
- return _Btn_Event;
- }
- }
- private RectTransform _BigMapConnect;
- public RectTransform BigMapConnect
- {
- get{
- if (_BigMapConnect == null)
- {
- _BigMapConnect = GetUIUnit<RectTransform>("BigMapConnect");
- }
- return _BigMapConnect;
- }
- }
- private RectTransform _PlacesConnect;
- public RectTransform PlacesConnect
- {
- get{
- if (_PlacesConnect == null)
- {
- _PlacesConnect = GetUIUnit<RectTransform>("PlacesConnect");
- }
- return _PlacesConnect;
- }
- }
- private GameObject _PlacesRoot;
- public GameObject PlacesRoot
- {
- get{
- if (_PlacesRoot == null)
- {
- _PlacesRoot = GetUIUnit<GameObject>("PlacesRoot");
- }
- return _PlacesRoot;
- }
- }
- private GameObject _XianTuSaiXuanWidget1;
- public GameObject XianTuSaiXuanWidget1
- {
- get{
- if (_XianTuSaiXuanWidget1 == null)
- {
- _XianTuSaiXuanWidget1 = GetUIUnit<GameObject>("XianTuSaiXuanWidget1");
- }
- return _XianTuSaiXuanWidget1;
- }
- }
- private GameObject _XianTuSaiXuanWidget2;
- public GameObject XianTuSaiXuanWidget2
- {
- get{
- if (_XianTuSaiXuanWidget2 == null)
- {
- _XianTuSaiXuanWidget2 = GetUIUnit<GameObject>("XianTuSaiXuanWidget2");
- }
- return _XianTuSaiXuanWidget2;
- }
- }
- private Button _Btn_XaiXuan;
- public Button Btn_XaiXuan
- {
- get{
- if (_Btn_XaiXuan == null)
- {
- _Btn_XaiXuan = GetUIUnit<Button>("Btn_XaiXuan");
- }
- return _Btn_XaiXuan;
- }
- }
- private GameObject _XaiXuanRoot;
- public GameObject XaiXuanRoot
- {
- get{
- if (_XaiXuanRoot == null)
- {
- _XaiXuanRoot = GetUIUnit<GameObject>("XaiXuanRoot");
- }
- return _XaiXuanRoot;
- }
- }
- private Button _Btn_XaiXuanClose;
- public Button Btn_XaiXuanClose
- {
- get{
- if (_Btn_XaiXuanClose == null)
- {
- _Btn_XaiXuanClose = GetUIUnit<Button>("Btn_XaiXuanClose");
- }
- return _Btn_XaiXuanClose;
- }
- }
- private UIToggleList _ChangeList;
- public UIToggleList ChangeList
- {
- get{
- if (_ChangeList == null)
- {
- _ChangeList = GetUIUnit<UIToggleList>("ChangeList");
- }
- return _ChangeList;
- }
- }
- private UIToggleList _BigMapList;
- public UIToggleList BigMapList
- {
- get{
- if (_BigMapList == null)
- {
- _BigMapList = GetUIUnit<UIToggleList>("BigMapList");
- }
- return _BigMapList;
- }
- }
- private UIToggleList _PlacesRootList;
- public UIToggleList PlacesRootList
- {
- get{
- if (_PlacesRootList == null)
- {
- _PlacesRootList = GetUIUnit<UIToggleList>("PlacesRootList");
- }
- return _PlacesRootList;
- }
- }
- private GameObject _EventLogTitleWidgetGam;
- public GameObject EventLogTitleWidgetGam
- {
- get{
- if (_EventLogTitleWidgetGam == null)
- {
- _EventLogTitleWidgetGam = GetUIUnit<GameObject>("EventLogTitleWidgetGam");
- }
- return _EventLogTitleWidgetGam;
- }
- }
- private RectTransform _MarskRoot;
- public RectTransform MarskRoot
- {
- get{
- if (_MarskRoot == null)
- {
- _MarskRoot = GetUIUnit<RectTransform>("MarskRoot");
- }
- return _MarskRoot;
- }
- }
- private RectTransform _Sv;
- public RectTransform Sv
- {
- get{
- if (_Sv == null)
- {
- _Sv = GetUIUnit<RectTransform>("Sv");
- }
- return _Sv;
- }
- }
- private RectTransform _MarskRoot1 ;
- public RectTransform MarskRoot1
- {
- get{
- if (_MarskRoot == null)
- {
- _MarskRoot = GetUIUnit<RectTransform>("MarskRoot ");
- }
- return _MarskRoot ;
- }
- }
- #endregion 自定义数据结束
- public override async CTask SetUIGameObject(GameObject gObjectPoolInterface)
- {
- await base.SetUIGameObject(gObjectPoolInterface);
- Init();
- }
- }
- }
|