Enum ButtonWithOneModifier.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 ButtonWithOneModifier.ModifiersOrder
Fields
| Name | Description |
|---|---|
| Default | By default, if the setting shortcutKeysConsumeInput is enabled,
modifier is 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 | modifier is 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 | modifier 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. |