Degulleo3D/Assets/LYM/Scripts/MainUIPanelController.cs
2025-05-15 01:15:05 +09:00

20 lines
477 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class MainUIPanelController : MonoBehaviour
{
public void OnClickStartButton()
{
GameManager.Instance.ChangeToHomeScene(true);
}
public void OnClickSettingsButton()
{
var settingsPanel = GameManager.Instance.PanelManager.GetPanel("SettingsPanel");
settingsPanel.GetComponent<SettingsPanelController>().Show();
}
}