Player.AddInputEventDelegate(Action<InputActionEventData>, UpdateLoopType, String) Method |
Add a delegate to receive input action events every time a specific input action value is updated.
Namespace: RewiredAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic void AddInputEventDelegate(
Action<InputActionEventData> callback,
UpdateLoopType updateLoop,
string actionName
)
Parameters
- callback Action<InputActionEventData>
- The delegate that will be called.
- updateLoop UpdateLoopType
- The update loop in which to monitor changes.
- actionName String
- The name of the action for which to receive change events.
See Also