string Name { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The Name property of the Achievement class represents the unique identifier or key for a specific achievement within the Sandbox environment. This property is a string and is used to reference the achievement programmatically.

Usage

Use the Name property to get or set the unique identifier for an achievement. This identifier is typically used in conjunction with other properties to manage and display achievements within the game.

Example

// Example of accessing the Name property of an Achievement object
Achievement achievement = new Achievement();
achievement.Name = "FirstWin";

// Output the name of the achievement
string achievementName = achievement.Name;
// Use achievementName in your game logic