private void UnregisterInputHandlers() { if (_inputBinder != null) { _inputBinder.UnregisterInputHandler(_virtualMouseInputHandler); _inputBinder.UnregisterInputHandler(_menuInputHandler); } }
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!"); } }
protected override void OnEnd() { _inputBinderInterface.UnregisterInputHandler(_virtualMouseInputHandler); }