Update PlayerManager.cs
This commit is contained in:
parent
09a86e504f
commit
07d745f82c
@ -59,7 +59,8 @@ public class PlayerManager : MonoBehaviour
|
||||
{
|
||||
if (Input.GetKeyDown(KeyCode.Escape))
|
||||
{
|
||||
SceneManager.LoadScene(0);
|
||||
DataManager.Level(SceneManager.GetActiveScene().buildIndex);
|
||||
SceneManager.LoadScene(6);
|
||||
}
|
||||
if (actualHealth <= 0 || gameObject.transform.position.y < -400.0f)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user