Click or drag to resize

InputActionEventDataIsCurrentInputSource(ControllerType, Int32) Method

Checks whether a particular controller contributed input to this Action in the current frame.

Namespace: Rewired
Assembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+fd80194fe28f6b408ce098e98c53850d307c3a32
Syntax
C#
public bool IsCurrentInputSource(
	ControllerType controllerType,
	int controllerId
)

Parameters

controllerType  ControllerType
Type of the controller
controllerId  Int32
Id of the Controller

Return Value

Boolean
Whether the controller contributed to the Action this frame.
See Also