int GlobalUnlocked { get; set; }

robot_2Generated
code_blocksInput

Description

The GlobalUnlocked property of the Achievement class represents the total number of players who have unlocked this specific achievement globally. This property is useful for understanding the popularity or difficulty of an achievement across the entire player base.

Usage

To access the GlobalUnlocked property, you need to have an instance of the Achievement class. This property is read-only and provides an integer value indicating the number of players who have unlocked the achievement.

Example

// Example of accessing the GlobalUnlocked property
Achievement achievement = new Achievement();
int totalUnlocked = achievement.GlobalUnlocked;

// Output the number of players who have unlocked this achievement
debug.log($"Total players who unlocked this achievement: {totalUnlocked}");