Archived
Update PlayerManager.cs
This commit is contained in:
1 parent
09a86e504f
commit
07d745f82c
1 file changed
+2
-1
@@ -59,7 +59,8 @@ public class PlayerManager : MonoBehaviour
|
|||||||
{
|
{
|
||||||
if (Input.GetKeyDown(KeyCode.Escape))
|
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)
|
if (actualHealth <= 0 || gameObject.transform.position.y < -400.0f)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user