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
Assemblies:  Rewired_AppleGameController (in Rewired_AppleGameController.dll) Version: 1.0.0+e8257758c3446d922301bab0e4637a0e5ec1862f
  Rewired_OSX (in Rewired_OSX.dll) Version: 1.0.0+e8257758c3446d922301bab0e4637a0e5ec1862f
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