Player.AddInputEventDelegate Method (Action<InputActionEventData>, UpdateLoopType, InputActionEventType) |
Add a delegate to receive input action events every time a specific event occurs in any action.
Namespace:
Rewired
Assembly:
Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic void AddInputEventDelegate(
Action<InputActionEventData> callback,
UpdateLoopType updateLoop,
InputActionEventType eventType
)
Parameters
- callback
- Type: System.Action<InputActionEventData>
The delegate that will be called. - updateLoop
- Type: Rewired.UpdateLoopType
The update loop in which to monitor changes. - eventType
- Type: Rewired.InputActionEventType
The event type for which to send an event.
See Also