private void RespondToDebugKeys() { if (Input.GetKey(KeyCode.L)) { levelLoader.ApplyLoadNextLevel(); } if (Input.GetKey(KeyCode.C)) { if (state != State.Invincible) { state = State.Invincible; isInvincible = true; } else if (state == State.Invincible) { state = State.Alive; isInvincible = false; } } }