Click or drag to resize

PlayerControllerHelperContainsControllerT Method (Int32)

Checks if a controller is assigned to this Player.

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public bool ContainsController<T>(
	int controllerId
)
where T : Controller

Parameters

controllerId
Type: SystemInt32
Controller id - Get this from the Controller.id property. For Keyboard and Mouse, just use 0.

Type Parameters

T
Controller type

Return Value

Type: Boolean
See Also