38 lines
966 B
C#
38 lines
966 B
C#
using Assets.MyGame.Scripts.Net;
|
|
using Assets.MyGame.Scripts.Net.API;
|
|
using Assets.MyGame.Scripts.Net.APIResponses.Enum;
|
|
using Assets.MyGame.Scripts.Net.WebResponses;
|
|
using Newtonsoft.Json;
|
|
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using TMPro;
|
|
using UnityEngine;
|
|
using UnityEngine.EventSystems;
|
|
using UnityEngine.InputSystem;
|
|
using UnityEngine.SceneManagement;
|
|
using UnityEngine.UI;
|
|
|
|
public class GameMainPanel_Base : UIBase
|
|
{
|
|
|
|
[Header("子ui管理器")]
|
|
public SubUIManager subUIManager;
|
|
public UIPanelAddressConfig panelAddressConfig;
|
|
public Transform subPanelParent;
|
|
public TextMeshProUGUI textMeshProUGUI_RoomID;
|
|
|
|
public virtual void Awake()
|
|
{
|
|
subUIManager = new SubUIManager(subPanelParent, panelAddressConfig,this);
|
|
|
|
}
|
|
#if UNITY_EDITOR
|
|
public void OnGUI()
|
|
{
|
|
|
|
textMeshProUGUI_RoomID.text = GameManager.Instance.gameData.currRoomData.roomId;
|
|
}
|
|
#endif
|
|
}
|