The AchievementsService
is the class responsible for managing achievements.
Methods API
Method | Parameters | Returns | Description |
UnlockAchievement | Achievements | | Unlocks an achievement. |
LockAchievement | Achievements | | Locks an achievement. |
ClearAchievements | | | Clears all achievements data (it locks all achievements). |
HasAchievement | Achievements | bool | Returns wether an achievement is unlocked or not. |
Static events
Event | Parameters | Description |
OnAchievementUnlocked | Achievements | Called when an achievement is unlocked. It provides the unlocked Achievement code. |