Class InputControlPicker
A popup that allows picking input controls graphically.
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 |