mirror of
https://github.com/boudji-ludwig-pett/cnam-geometry-dash.git
synced 2025-12-11 00:27:48 +01:00
refactor: move all scripts to Scripts folder
This commit is contained in:
33
Assets/Scripts/SelectLevelMenu.cs
Normal file
33
Assets/Scripts/SelectLevelMenu.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using UnityEngine.SceneManagement;
|
||||
|
||||
public class SelectLevelMenu : MonoBehaviour
|
||||
{
|
||||
public Text levelNameText;
|
||||
|
||||
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(?);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user