Click or drag to resize

ReInputControllerHelperIsControllerAssignedToPlayer Method

Is the specified controller assigned to the specified player?

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public bool IsControllerAssignedToPlayer(
	ControllerType controllerType,
	int controllerId,
	int playerId
)

Parameters

controllerType
Type: RewiredControllerType
Type of controller
controllerId
Type: SystemInt32
Id of the controller
playerId
Type: SystemInt32
Id of the player

Return Value

Type: Boolean
Boolean determining whether this controller is assigned to the player
See Also