Enum ButtonWithTwoModifiers.ModifiersOrder
Determines how a modifiers
keys need to be pressed in order or not.
Namespace: UnityEngine.InputSystem.Composites
Assembly: Unity.InputSystem.dll
Syntax
public enum ButtonWithTwoModifiers.ModifiersOrder
Fields
Name | Description |
---|---|
Default | By default, if the setting shortcutKeysConsumeInput is enabled,
modifier1 and modifier2 are required to be in pressed state before or at the same
time that button goes into pressed state for the composite as a whole to trigger. This means that binding to,
for example, If the setting shortcutKeysConsumeInput is disabled, modifiers can be pressed after the button and the composite will still trigger. |
Ordered | modifier1 and modifier2 are required to be in pressed state before or at the same
time that button goes into pressed state for the composite as a whole to trigger. This means that binding to,
for example, |
Unordered | modifier1 and/or modifier2 can be pressed after button and the composite will still trigger. The only requirement is for all of them to concurrently be in pressed state. |