Enum InputControlPath.HumanReadableStringOptions | Input System | 1.0.2
docs.unity.cn
    Show / Hide Table of Contents

    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.

    0
    OmitDevice

    Do not mention the device of the control. For example, instead of "A [Gamepad]", return just "A".

    2
    UseShortNames

    When available, use short display names instead of long ones. For example, instead of "Left Button", return "LMB".

    4
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 22 January 2021