Class OnMouseInput
A configurable event to handle global mouse input.
Inheritance
OnMouseInput
Inherited Members
Namespace: Ludiq.Bolt
Syntax
[UnitCategory("Events/Input")]
public sealed class OnMouseInput : 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 |
button
The mouse button that received input.
Declaration
[DoNotSerialize]
public ValueInput button { 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
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)