# LoadScores

> See Social.LoadScores.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.SocialPlatforms](/engine/6000.3/script-reference/unityengine/socialplatforms.md)
* **Assembly:** UnityEngine.GameCenterModule

## LoadScores(string, Action\<IScore\[]>)

See [Social.LoadScores](/engine/6000.3/script-reference/unityengine/social/loadscores.md).

> **Warning:**
>
> **Deprecated.** ISocialPlatform is deprecated and will be removed in a future release.

```csharp
void LoadScores(string leaderboardID, Action<IScore[]> callback)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): **** (\[Action\<IScore\[]>]\(https\://learn.microsoft.com/dotnet/api/system.action)):&#x20;

## LoadScores(ILeaderboard, Action\<bool>)

See [Social.LoadScores](/engine/6000.3/script-reference/unityengine/social/loadscores.md).

> **Warning:**
>
> **Deprecated.** ISocialPlatform is deprecated and will be removed in a future release.

```csharp
void LoadScores(ILeaderboard board, Action<bool> callback)
```

### Parameters

**** (\[ILeaderboard]\(/engine/6000.3/script-reference/unityengine/socialplatforms/ileaderboard)): **** (\[Action\<bool>]\(https\://learn.microsoft.com/dotnet/api/system.action)):&#x20;
