v2.0.0
Latest
2021.3+

Class LeaderboardsService

The entry class to the Leaderboards service.

Inheritance
LeaderboardsService
Namespace: Unity.Services.Leaderboards
Syntax
public static class LeaderboardsService

Properties

Instance

The default singleton instance to access the Leaderboards service.

Declaration
public static ILeaderboardsService Instance { get; }
Property Value
TypeDescription
ILeaderboardsService
Exceptions
TypeCondition
ServicesInitializationException

This exception is thrown if the

UnityServices.InitializeAsync()
has not finished before accessing the singleton.