示例#1
0
 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);
 }
示例#2
0
 private void DisableInputControls()
 {
     //	Stop Listening Input Events
     PlayerInputHandler.EnableInputControl(PlayerInputControls.ActionType.Fire, false);
     PlayerInputHandler.StopListening(PlayerInputControls.ActionType.Fire, OnHandleFireEvent);
 }