41 lines
820 B
C#
41 lines
820 B
C#
using UnityEngine;
|
|
|
|
namespace UI
|
|
{
|
|
public class MainMenuUIController : MonoBehaviour
|
|
{
|
|
public GameObject startGameButton;
|
|
public GameObject continueButton;
|
|
public GameObject settingsButton;
|
|
public GameObject quitButton;
|
|
|
|
public GameObject multiplayerPanel;
|
|
// public GameObject NewGamePanel;
|
|
|
|
|
|
public void OnClick_StartGame()
|
|
{
|
|
}
|
|
|
|
public void OnClick_Continue()
|
|
{
|
|
}
|
|
|
|
public void OnClick_Settings()
|
|
{
|
|
}
|
|
|
|
public void OnClick_Quit()
|
|
{
|
|
}
|
|
|
|
|
|
public void OnClick_Multiplayer()
|
|
{
|
|
if (multiplayerPanel.activeSelf)
|
|
multiplayerPanel.SetActive(false);
|
|
else
|
|
multiplayerPanel.SetActive(true);
|
|
}
|
|
}
|
|
} |