Class InputParameterEditor
A custom UI for editing parameter values on a InputProcessor, InputBindingComposite, or IInputInteraction.
InputParameterEditor<TObject>
Namespace: UnityEngine.InputSystem.Editor
Assembly: Unity.InputSystem.dll
Syntax
public abstract class InputParameterEditor
Remarks
When implementing a custom parameter editor, use InputParameterEditor<TObject> instead.
Properties
target
The InputProcessor, InputBindingComposite, or IInputInteraction being edited.
Declaration
public object target { get; }
Property Value
Type | Description |
---|---|
object |
See Also
Methods
OnDrawVisualElements(VisualElement, Action)
Add visual elements for this parameter editor to a root VisualElement.
Declaration
public abstract void OnDrawVisualElements(VisualElement root, Action onChangedCallback)
Parameters
Type | Name | Description |
---|---|---|
VisualElement | root | The VisualElement that parameter editor elements should be added to. |
Action | onChangedCallback | A callback that will be called when any of the parameter editors changes value. |
See Also
OnGUI()
Callback for implementing a custom UI.
Declaration
public abstract void OnGUI()