Enum InputControlPath.HumanReadableStringOptions
Options for customizing the behavior of ToHumanReadableString(String, InputControlPath.HumanReadableStringOptions, InputControl).
Namespace: UnityEngine.InputSystem
Syntax
[Flags]
public enum HumanReadableStringOptions
Fields
Name | Description | Value |
---|---|---|
None | The default behavior. |
|
OmitDevice | Do not mention the device of the control. For example, instead of "A [Gamepad]", return just "A". |
|
UseShortNames | When available, use short display names instead of long ones. For example, instead of "Left Button", return "LMB". |