![]() |
Liberi
An exergame built for kids with CP!
|
A rankable object. Include this on the view script of an Avatar and implement the methods to make the Avatar one that can be ranked in a minigame by MinigameRankingView. More...
Public Member Functions | |
int | GetScore () |
Gets the score with which to rank this player. Scores are sorted in descending order. More... | |
float | GetSecondarySortCriteria () |
A secondary metric to compare list sorting on, typically the time the score was last updated. Secondary criteria are sorted in ascending order (of two tied scores, the older of the two should appear on top). More... | |
Sprite | GetScoreSticker () |
Gets the sticker to use for the score multiple. More... | |
Sprite | GetAvatarSticker () |
Gets the avatar sticker to use on the rank object. More... | |
string | GetName () |
Gets the name to use for this rank. More... | |
Color | GetAvatarColor () |
Gets the color of the avatar. More... | |
A rankable object. Include this on the view script of an Avatar and implement the methods to make the Avatar one that can be ranked in a minigame by MinigameRankingView.
Definition at line 8 of file IRankable.cs.
Color IRankable.GetAvatarColor | ( | ) |
Gets the color of the avatar.
Sprite IRankable.GetAvatarSticker | ( | ) |
Gets the avatar sticker to use on the rank object.
string IRankable.GetName | ( | ) |
Gets the name to use for this rank.
int IRankable.GetScore | ( | ) |
Gets the score with which to rank this player. Scores are sorted in descending order.
Sprite IRankable.GetScoreSticker | ( | ) |
Gets the sticker to use for the score multiple.
float IRankable.GetSecondarySortCriteria | ( | ) |
A secondary metric to compare list sorting on, typically the time the score was last updated. Secondary criteria are sorted in ascending order (of two tied scores, the older of the two should appear on top).