docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum InputControlPath.HumanReadableStringOptions

    Options for customizing the behavior of ToHumanReadableString(string, HumanReadableStringOptions, InputControl).

    Namespace: UnityEngine.InputSystem
    Assembly: Unity.InputSystem.dll
    Syntax
    [Flags]
    public enum InputControlPath.HumanReadableStringOptions

    Fields

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

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)