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 © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Monday, July 17, 2023