fix escape
This commit is contained in:
parent
2e2783bc6c
commit
2eeb0fd521
@ -67,7 +67,7 @@ public class PlayerManager : MonoBehaviour
|
||||
if (Input.GetKeyDown(KeyCode.Escape))
|
||||
{
|
||||
DataManager.Level(SceneManager.GetActiveScene().buildIndex);
|
||||
SceneManager.LoadScene(6);
|
||||
SceneManager.LoadScene(4);
|
||||
}
|
||||
if (actualHealth <= 0 || gameObject.transform.position.y < -400.0f)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user