feature: Added menu functionality
This commit is contained in:
parent
3b730311fc
commit
38c0bcaef4
9 changed files with 134 additions and 247 deletions
10
Assets/Scripts/Flow/MainMenu.cs
Normal file
10
Assets/Scripts/Flow/MainMenu.cs
Normal file
|
@ -0,0 +1,10 @@
|
|||
using UnityEngine;
|
||||
using UnityEngine.SceneManagement;
|
||||
|
||||
namespace Flow {
|
||||
public class MainMenu : MonoBehaviour {
|
||||
public void LoadGame() {
|
||||
SceneManager.LoadScene(sceneBuildIndex: 1);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue