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.

    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".

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, November 3, 2022
    Terms of use