public void DisableInputControls() { PlayerInputHandler.EnableInputControl(PlayerInputControls.ActionType.Thurst, false); PlayerInputHandler.EnableInputControl(PlayerInputControls.ActionType.Turn, false); PlayerInputHandler.StopListening(PlayerInputControls.ActionType.Thurst, OnHandleThurstAction); PlayerInputHandler.StopListening(PlayerInputControls.ActionType.Turn, OnHandleTurnAction); }
private void DisableInputControls() { // Stop Listening Input Events PlayerInputHandler.EnableInputControl(PlayerInputControls.ActionType.Fire, false); PlayerInputHandler.StopListening(PlayerInputControls.ActionType.Fire, OnHandleFireEvent); }