Enum TwoModifiersComposite.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 TwoModifiersComposite.ModifiersOrder
Fields
| Name | Description |
|---|---|
| Default | By default, if shortcutKeysConsumeInput is enabled and shortcutKeysUseActionPriority is disabled,
if binding is bound to only ButtonControls, then the composite requires
both modifier1 and modifier2 to be pressed before pressing binding.
This means that binding to, for example, If shortcutKeysConsumeInput is disabled or shortcutKeysUseActionPriority is enabled, modifiers can be pressed after the button and the composite will still trigger. |
| Ordered | if binding is bound to only ButtonControl s, then the composite requires
both modifier1 and modifier2 to be pressed before pressing binding.
This means that binding to, for example, |
| Unordered | modifier1 and/or modifier2 can be pressed after binding and the composite will still trigger. The only requirement is for all of them to concurrently be in pressed state. |