cnam-geometry-dash/Assets/SelectLevelMenu.cs

31 lines
476 B
C#

using UnityEngine;
using UnityEngine.SceneManagement;
public class SelectLevelMenu : MonoBehaviour
{
public void PlayLevel()
{
SceneManager.LoadScene("LevelScene");
}
public void BackBtn()
{
SceneManager.LoadScene("HomeScene");
}
public void LastLevel()
{
// TODO
}
public void NextLevel()
{
// TODO
}
public void LevelStatsBtn()
{
// SceneManager.LoadSceneAsync(?);
}
}