Click or drag to resize

PlayerIsCurrentInputSource Method (Int32, ControllerType)

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

Parameters

actionId
Type: SystemInt32
Id of the Action
controllerType
Type: RewiredControllerType
Type of the controller

Return Value

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