mirror of
https://github.com/boudji-ludwig-pett/cnam-geometry-dash.git
synced 2025-01-21 10:27:31 +01:00
21 lines
333 B
C#
21 lines
333 B
C#
|
using UnityEngine;
|
||
|
using UnityEngine.SceneManagement;
|
||
|
|
||
|
public class MainMenu : MonoBehaviour
|
||
|
{
|
||
|
public void LaunchGame()
|
||
|
{
|
||
|
SceneManager.LoadSceneAsync(1);
|
||
|
}
|
||
|
|
||
|
public void OpenSettings()
|
||
|
{
|
||
|
// SceneManager.LoadSceneAsync(?);
|
||
|
}
|
||
|
|
||
|
public void QuitGame()
|
||
|
{
|
||
|
Application.Quit();
|
||
|
}
|
||
|
}
|