Click or drag to resize

Player.AddInputEventDelegate Method (Action<InputActionEventData>, UpdateLoopType, String)

Add a delegate to receive input action events every time a specific input action value is updated.

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,
	string actionName
)

Parameters

callback
Type: System.Action<InputActionEventData>
The delegate that will be called.
updateLoop
Type: Rewired.UpdateLoopType
The update loop in which to monitor changes.
actionName
Type: System.String
The name of the action for which to receive change events.
See Also