Edytuj

Udostępnij za pośrednictwem


GKLeaderboard.LoadScoresAsync Method

Definition

Loads scores from the Game Center and then passes them to completionHandler, along with an error object that is null if no error occurred.

public virtual System.Threading.Tasks.Task<GameKit.GKScore[]> LoadScoresAsync ();
abstract member LoadScoresAsync : unit -> System.Threading.Tasks.Task<GameKit.GKScore[]>
override this.LoadScoresAsync : unit -> System.Threading.Tasks.Task<GameKit.GKScore[]>

Returns

A task that represents the asynchronous LoadScores operation. The value of the TResult parameter is a GameKit.GKScoresLoadedHandler.

Applies to