docs.unity3d.com
    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
    In This Article
    • Fields
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023