Enum InputBinding.DisplayStringOptions
A set of flags to turn individual default behaviors of ToDisplayString(InputBinding.DisplayStringOptions, InputControl) off.
Namespace: UnityEngine.InputSystem
Syntax
public enum DisplayStringOptions : int
Fields
Name | Description | Value |
---|---|---|
DontIncludeInteractions | By default, interactions on bindings are included in the resulting display string. For example, a binding to the gamepad's A button that has a "Hold" interaction on it, would come out as "Hold A". This can be suppressed with this option in which case the same setup would come out as just "A". |
|
DontOmitDevice | By default device names are omitted from display strings. With this option, they are included instead.
For example, |
|
DontUseShortDisplayNames | Do not use short names of controls as set up by shortDisplayName
and the |
|
IgnoreBindingOverrides | By default, effectivePath is used for generating a display name. Using this option, the display string can be forced to path instead. |