fix escape
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user