GCControllerInputControllerAssignmentContainsNativePlayerIndex Method |
Determines if there is a Player association with the native GCController player index.
Namespace: Rewired.Platforms.Apple.GameControllerAssemblies: Rewired_AppleGameController (in Rewired_AppleGameController.dll) Version: 1.0.0+20d1932ee9c49d9b6496f76a0835fd9b82311ad2
Rewired_OSX (in Rewired_OSX.dll) Version: 1.0.0+20d1932ee9c49d9b6496f76a0835fd9b82311ad2
Syntaxpublic static bool ContainsNativePlayerIndex(
GCControllerPlayerIndex nativePlayerIndex
)
Parameters
- nativePlayerIndex GCControllerPlayerIndex
- Native GCController player index. This corresponds to XUserLocalId.
Return Value
BooleanTrue if there is a Player associated to this native GCController player index, or False if not.
See Also