Click or drag to resize

PlayerIsCurrentInputSource(Int32, 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.0 (1.0.0.0)
Syntax
C#
public bool IsCurrentInputSource(
	int actionId,
	ControllerType controllerType,
	int controllerId
)

Parameters

actionId  Int32
Id of the Action
controllerType  ControllerType
Type of the controller
controllerId  Int32
Id the controller

Return Value

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