docs.unity3d.com
    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()

    Show(Rect)

    Declaration
    public void Show(Rect rect)
    Parameters
    Type Name Description
    Rect rect
    In This Article
    • Constructors
      • InputControlPicker(InputControlPicker.Mode, Action<String>, InputControlPickerState)
    • Properties
      • state
    • Methods
      • Dispose()
      • Show(Rect)
    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