Description
The Description
property of the MapClass
class provides a human-readable name for the entity class, such as "Physics Prop". This property is useful for displaying a more descriptive name in user interfaces or documentation, making it easier for users to understand the purpose or function of the entity class.
Usage
To access or modify the Description
property, you can use the following syntax:
MapClass mapClassInstance = new MapClass();
string currentDescription = mapClassInstance.Description;
mapClassInstance.Description = "New Description";
Ensure that the MapClass
instance is properly initialized before accessing or setting the Description
property.
Example
// Example of setting and getting the Description property
MapClass mapClassInstance = new MapClass();
// Set the description
mapClassInstance.Description = "Physics Prop";
// Get the description
string description = mapClassInstance.Description;
// Output: Physics Prop