dont' actually pause the game
This commit is contained in:
1 parent
bd65110f27
commit
b036a0a9c3
1 file changed
+2
-2
@@ -86,7 +86,7 @@ public class MenuControls : MonoBehaviour {
|
|||||||
|
|
||||||
void Show() {
|
void Show() {
|
||||||
// pause the game
|
// pause the game
|
||||||
Time.timeScale = 0f;
|
// Time.timeScale = 0f;
|
||||||
|
|
||||||
visible = true;
|
visible = true;
|
||||||
UnityEngine.Cursor.lockState = CursorLockMode.None;
|
UnityEngine.Cursor.lockState = CursorLockMode.None;
|
||||||
@@ -109,7 +109,7 @@ public class MenuControls : MonoBehaviour {
|
|||||||
|
|
||||||
void Hide() {
|
void Hide() {
|
||||||
// pause the game
|
// pause the game
|
||||||
Time.timeScale = 1f;
|
// Time.timeScale = 1f;
|
||||||
|
|
||||||
visible = false;
|
visible = false;
|
||||||
UnityEngine.Cursor.lockState = CursorLockMode.Locked;
|
UnityEngine.Cursor.lockState = CursorLockMode.Locked;
|
||||||
|
|||||||
Reference in new issue
Block a user