|
|
@ -67,17 +67,12 @@ public class sceneController : MonoBehaviour { |
|
|
|
|
|
|
|
if (Input.GetButtonDown("start")) { |
|
|
|
paused = !paused; |
|
|
|
optionsSelect (); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (exit) { |
|
|
|
Time.timeScale = 1.0f; |
|
|
|
Application.LoadLevel("Menu_Scene"); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
optionsSelect (); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -96,6 +91,13 @@ public class sceneController : MonoBehaviour { |
|
|
|
options.SetActive (false); |
|
|
|
} |
|
|
|
|
|
|
|
if (exit) { |
|
|
|
Time.timeScale = 1.0f; |
|
|
|
Application.LoadLevel("Menu_Scene"); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|