docs.unity3d.com
    目次を表示する/隠す

    Enum InputBinding.DisplayStringOptions

    A set of flags to turn individual default behaviors of ToDisplayString(InputBinding.DisplayStringOptions, InputControl) off.

    Namespace: UnityEngine.InputSystem
    Syntax
    [Flags]
    public enum DisplayStringOptions

    Fields

    Name Description Value
    DontIncludeInteractions

    By default, interactions on bindings are included in the resulting display string. For example, a binding to the gamepad's A button that has a "Hold" interaction on it, would come out as "Hold A". This can be suppressed with this option in which case the same setup would come out as just "A".

    DontOmitDevice

    By default device names are omitted from display strings. With this option, they are included instead. For example, "A" will be "A [Gamepad]" instead.

    DontUseShortDisplayNames

    Do not use short names of controls as set up by shortDisplayName and the "shortDisplayName" property in JSON. This will, for example, not use LMB instead of "left Button" on leftButton.

    IgnoreBindingOverrides

    By default, effectivePath is used for generating a display name. Using this option, the display string can be forced to path instead.

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)