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