How to resume game after pressing back in menu
up vote
2
down vote
favorite
Hey I am trying to make a pause menu in my game. When escape is pressed pause game go to menu, but now I want to be able to press back in menu and resume my game. So far I can only pause game and cant press back. Also if i press Play in menu it starts at my tutorial scene and not the current scene. Is there a smart way to do this? Without resetting my game. `using UnityEngine; using UnityEngine.SceneManagement; using UnityEngine.UI; public class MenuScript : MonoBehaviour { // Use this for initialization void Start() { } // Update is called once per frame void Update() { if (Input.GetKey(KeyCode.Escape)) { if (Time.timeScale == 0) { Time.timeScale = 1; } else { ...