protected override void Update() { if (Player) { GameGUI.Compass.transform.eulerAngles = new Vector3(0, 0, Player.transform.eulerAngles.y); if (Input.GetKeyDown(KeyCode.Tab)) { GameGUI.ShowScorePanel(); } else if (Input.GetKeyUp(KeyCode.Tab)) { GameGUI.HideScorePanel(); } if (Input.GetKeyDown(KeyCode.Escape)) { Deactivate <GameState_Play>(); } } base.Update(); }