共用方式為


GKLeaderboard.SetDefaultLeaderboardAsync(String) 方法

定義

已取代。

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'SetDefaultLeaderboard' on 'GKLocalPlayer' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Use 'SetDefaultLeaderboard' on 'GKLocalPlayer' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static System.Threading.Tasks.Task SetDefaultLeaderboardAsync (string leaderboardIdentifier);
static member SetDefaultLeaderboardAsync : string -> System.Threading.Tasks.Task

參數

leaderboardIdentifier
String

傳回

表示非同步 SetDefaultLeaderboard 作業的工作

屬性

適用於