Click or drag to resize

GCControllerInputControllerAssignmentContainsNativePlayerIndex Method

Determines if there is a Player association with the native GCController player index.

Namespace: Rewired.Platforms.Apple.GameController
Assembly: Rewired_OSX (in Rewired_OSX.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static bool ContainsNativePlayerIndex(
	GCControllerPlayerIndex nativePlayerIndex
)

Parameters

nativePlayerIndex  GCControllerPlayerIndex
Native GCController player index. This corresponds to XUserLocalId.

Return Value

Boolean
True if there is a Player associated to this native GCController player index, or False if not.
See Also