mirror of
https://github.com/boudji-ludwig-pett/cnam-geometry-dash.git
synced 2025-04-10 21:47:07 +02:00
31 lines
544 B
C#
31 lines
544 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 OpenSettings()
|
|
{
|
|
// SceneManager.LoadSceneAsync(?);
|
|
}
|
|
|
|
public void QuitGame()
|
|
{
|
|
Application.Quit();
|
|
}
|
|
|
|
public void LevelEditor()
|
|
{
|
|
SceneManager.LoadSceneAsync("LevelEditorScene");
|
|
}
|
|
}
|