cnam-geometry-dash/Assets/SelectLevelMenu.cs

31 lines
476 B
C#
Raw Normal View History

using UnityEngine;
using UnityEngine.SceneManagement;
public class SelectLevelMenu : MonoBehaviour
{
public void PlayLevel()
{
2025-01-20 17:02:37 +01:00
SceneManager.LoadScene("LevelScene");
}
public void BackBtn()
{
2025-01-20 17:02:37 +01:00
SceneManager.LoadScene("HomeScene");
}
public void LastLevel()
{
// TODO
}
public void NextLevel()
{
// TODO
}
public void LevelStatsBtn()
{
// SceneManager.LoadSceneAsync(?);
}
}