public override void OnStateUpdate() { if (Input.GetKeyDown(KeyCode.Escape)) { hub.SwitchToPlay(); } }