Class OnKeyboardInput
A configurable event to handle global keyboard input.
Inheritance
OnKeyboardInput
Inherited Members
Namespace: Ludiq.Bolt
Syntax
[UnitCategory("Events/Input")]
public sealed class OnKeyboardInput : ComponentEventUnit<EmptyEventArgs>, ISerializationCallbackReceiver, IEventHandlerUnit, IEventUnit, IBehaviourUnit, IUnit, IGraphElementWithDebugData, IBehaviourGraphElement, IGraphElementWithData, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged, IGraphEventHandler<EmptyEventArgs>
Properties
action
The type of input.
Declaration
[DoNotSerialize]
public ValueInput action { get; }
Property Value
Type | Description |
---|---|
ValueInput |
hookID
Declaration
public override EventHookID hookID { get; }
Property Value
Type | Description |
---|---|
EventHookID |
Overrides
Ludiq.Bolt.EventHandlerUnit<Ludiq.Bolt.EmptyEventArgs>.hookID
key
The key that received input.
Declaration
[DoNotSerialize]
public ValueInput key { get; }
Property Value
Type | Description |
---|---|
ValueInput |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Ludiq.Bolt.EventHandlerUnit<Ludiq.Bolt.EmptyEventArgs>.Definition()
ShouldInvoke(Flow, EmptyEventArgs)
Declaration
protected override bool ShouldInvoke(Flow flow, EmptyEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow | |
EmptyEventArgs | args |
Returns
Type | Description |
---|---|
Boolean |
Overrides
Ludiq.Bolt.EventHandlerUnit<Ludiq.Bolt.EmptyEventArgs>.ShouldInvoke(Ludiq.Bolt.Flow, Ludiq.Bolt.EmptyEventArgs)