Description
The Unlocked
property of the AchievementOverview
class represents the number of achievements that have been unlocked by the user. This property is an integer value and provides a quick way to access the count of achievements that have been completed.
Usage
To access the Unlocked
property, you need an instance of the AchievementOverview
class. This property is read-only and provides the current count of unlocked achievements.
Example
// Example of accessing the Unlocked property
// Assume achievementOverview is an instance of AchievementOverview
AchievementOverview achievementOverview = new AchievementOverview();
// Get the number of unlocked achievements
int unlockedAchievements = achievementOverview.Unlocked;
// Output the number of unlocked achievements
// Note: Replace with appropriate logging or UI update
// e.g., UpdateUI(unlockedAchievements);