PlayerAddInputEventDelegate Method (ActionInputActionEventData, UpdateLoopType, InputActionEventType, Int32) |
Add a delegate to receive input action events every time a specific event occurs in a specific action.
Namespace:
Rewired
Assembly:
Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void AddInputEventDelegate(
Action<InputActionEventData> callback,
UpdateLoopType updateLoop,
InputActionEventType eventType,
int actionId
)
Parameters
- callback
- Type: SystemActionInputActionEventData
The delegate that will be called. - updateLoop
- Type: RewiredUpdateLoopType
The update loop in which to monitor changes. - eventType
- Type: RewiredInputActionEventType
The event type for which to send an event. - actionId
- Type: SystemInt32
The id of the action for which to receive change events.
See Also