docs.unity.cn
    Show / Hide Table of Contents

    Class InputControlPicker

    A popup that allows picking input controls graphically.

    Inheritance
    Object
    InputControlPicker
    Namespace: UnityEngine.InputSystem.Editor
    Syntax
    public sealed class InputControlPicker : IDisposable

    Constructors

    InputControlPicker(InputControlPicker.Mode, Action<String>, InputControlPickerState)

    Declaration
    public InputControlPicker(InputControlPicker.Mode mode, Action<string> onPick, InputControlPickerState state)
    Parameters
    Type Name Description
    InputControlPicker.Mode mode
    Action<String> onPick
    InputControlPickerState state

    Properties

    state

    Declaration
    public InputControlPickerState state { get; }
    Property Value
    Type Description
    InputControlPickerState

    Methods

    Dispose()

    Declaration
    public void Dispose()
    Implements
    IDisposable.Dispose()

    Show(Rect)

    Declaration
    public void Show(Rect rect)
    Parameters
    Type Name Description
    Rect rect
    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on 27 March 2023
    Terms of use