Renamed game scene and added a button to send the player to the (currently barren) main menu
This commit is contained in:
@@ -46,7 +46,11 @@ public class GMScript : MonoBehaviour
|
||||
{
|
||||
|
||||
if (Input.GetKeyDown("r")) {
|
||||
SceneManager.LoadScene("Scene");
|
||||
SceneManager.LoadScene("Game");
|
||||
}
|
||||
|
||||
if (Input.GetKeyDown(KeyCode.Escape)) {
|
||||
SceneManager.LoadScene("Main Menu");
|
||||
}
|
||||
|
||||
if(GameObject.FindWithTag("Player") != null)
|
||||
|
||||
Reference in New Issue
Block a user