public override void OnStartLocalPlayer() { if (inputs == null) { inputs = new Inputs(); inputs.Player.Thrust.started += context => StartEngineGlow(); inputs.Player.Thrust.canceled += context => StopEngineGlow(); inputs.Player.Fire.started += context => CmdStartFiring(); inputs.Player.Fire.canceled += context => CmdStopFiring(); inputs.Player.HyperspaceJump.performed += context => StartHyperspaceJumpFromMapSelection(); inputs.Player.Land.performed += context => Land(); } inputs.Player.Enable(); StartCoroutine(KeepServerInformedOfRtt()); SceneManager.SetActiveScene(gameObject.scene); SetUpCamera(MainCameraController.Find()); uiController = UIController.Find(); damageable.destroyed.AddListener(controller => gameLog?.AddMessage($"You have died.")); }