question

laxav avatar image
laxav asked

How do I make leaderboards in unity C#?

Leaderboards and Statistics
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
brendan avatar image
brendan answered

One of two ways:

1. Anytime you write to a statistic, you're updating the leaderboard for that Statistic ID. So, if you write to a statistic ID that's never been written to before in your game, that'll create a new leaderboard for that ID, with a default configuration (no timed resets, "last" aggregation).

2. By using the Admin/CreatePlayerStatisticDefinition API call.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.