Click or drag to resize

PlayerIsCurrentInputSource(Int32, ControllerType) Method

Checks whether any controller of type contributed input to this Action in the current frame.

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

Parameters

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

Return Value

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