Files
5.24BuYu/Assets/MyGame/Scripts/Manager/GameManager.cs
T
2025-12-13 18:18:28 +08:00

23 lines
461 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameManager : MonoSingleton<GameManager>
{
public void StartGame()
{
UIManager.Instance.ShowAsync(UIPanel.MainGamePanel);
}
// Start is called before the first frame update
void Start()
{
UIManager.Instance.ShowAsync(UIPanel.LoginPanel);
}
// Update is called once per frame
void Update()
{
}
}