mirror of
https://github.com/boudji-ludwig-pett/cnam-geometry-dash.git
synced 2025-04-17 18:56:18 +02:00
31 lines
559 B
C#
31 lines
559 B
C#
using UnityEngine;
|
|
using UnityEngine.SceneManagement;
|
|
|
|
public class MainMenu : MonoBehaviour
|
|
{
|
|
public void LaunchGame()
|
|
{
|
|
SceneManager.LoadSceneAsync("SelectLevelScene");
|
|
}
|
|
|
|
public void OpenImport()
|
|
{
|
|
SceneManager.LoadSceneAsync("ImportScene");
|
|
}
|
|
|
|
public void QuitGame()
|
|
{
|
|
Application.Quit();
|
|
}
|
|
|
|
public void EditorChoice()
|
|
{
|
|
SceneManager.LoadSceneAsync("EditorChoiceScene");
|
|
}
|
|
|
|
public void CreateLevel()
|
|
{
|
|
SceneManager.LoadSceneAsync("CreateLevelScene");
|
|
}
|
|
}
|