Click or drag to resize

PlayerAddInputEventDelegate(ActionInputActionEventData, UpdateLoopType, InputActionEventType, String, Object) Method

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
C#
public void AddInputEventDelegate(
	Action<InputActionEventData> callback,
	UpdateLoopType updateLoop,
	InputActionEventType eventType,
	string actionName,
	Object[] arguments
)

Parameters

callback  ActionInputActionEventData
The delegate that will be called.
updateLoop  UpdateLoopType
The update loop in which to monitor changes.
eventType  InputActionEventType
The event type for which to send an event.
actionName  String
The name of the action for which to receive change events.
arguments  Object
Arguments for the event. See InputActionEventType for event types that require arguments.
See Also