Esempio n. 1
0
 private void UnregisterInputHandlers()
 {
     if (_inputBinder != null)
     {
         _inputBinder.UnregisterInputHandler(_virtualMouseInputHandler);
         _inputBinder.UnregisterInputHandler(_menuInputHandler);
     }
 }
Esempio n. 2
0
 private void UnregisterForInput()
 {
     if (_inputBinderInterface != null)
     {
         _inputBinderInterface.UnregisterInputHandler(_gadgetInputHandler);
         _inputBinderInterface.UnregisterInputHandler(_companionInputHandler);
         _inputBinderInterface.UnregisterInputHandler(_pauseInputHandler);
         _inputBinderInterface.UnregisterInputHandler(_interactionInputHandler);
         _inputBinderInterface.UnregisterInputHandler(_locomotionInputHandler);
     }
 }
 public override void End()
 {
     if (_inputBinderInterface != null)
     {
         _inputBinderInterface.UnregisterInputHandler(_boundHandler);
     }
     else
     {
         Debug.LogError("Failed to unregister Custom handler on InputReceivedActionStateCondition!");
     }
 }
Esempio n. 4
0
 protected override void OnEnd()
 {
     _inputBinderInterface.UnregisterInputHandler(_virtualMouseInputHandler);
 }