編輯

共用方式為


GKPlayer.GetAnonymousGuestPlayer(String) Method

Definition

Creates a new anonymous GKPlayer and assigns her the specified identifier.

[Foundation.Export("anonymousGuestPlayerWithIdentifier:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static GameKit.GKPlayer GetAnonymousGuestPlayer (string guestIdentifier);
static member GetAnonymousGuestPlayer : string -> GameKit.GKPlayer

Parameters

guestIdentifier
String

Returns

Attributes

Applies to