Class InputActionsContainer.Binding
The binding.
Inheritance
System.Object
InputActionsContainer.Binding
Namespace: FlaxEditor.Options
Assembly: FlaxEngine.CSharp.dll
Syntax
public sealed class Binding : ValueType
Constructors
Binding(Func<InputOptions, InputBinding>, Action)
Initializes a new instance of the InputActionsContainer.Binding struct.
Declaration
public Binding(Func<InputOptions, InputBinding> binder, Action callback)
Parameters
System.Func<FlaxEditor.Options.InputOptions, FlaxEditor.Options.InputBinding>
binder
The input binding options getter (can read from editor options or use constant binding). |
System.Action
callback
The callback to invoke on user input. |
Fields
Binder
The binded options callback.
Declaration
public Func<InputOptions, InputBinding> Binder
Field Value
System.Func<FlaxEditor.Options.InputOptions, FlaxEditor.Options.InputBinding>
|
Callback
The action callback.
Declaration
public Action Callback
Field Value
System.Action
|