The Category
property of the MapClass
class represents the category to which the map entity belongs. This is typically used to organize entities within the map editor, allowing for easier navigation and management of different types of entities.
The Category
property of the MapClass
class represents the category to which the map entity belongs. This is typically used to organize entities within the map editor, allowing for easier navigation and management of different types of entities.
To access or modify the category of a map entity, use the Category
property. This property is a string
and can be set to any value that represents a valid category within the map editor.
// Example of setting the Category property MapClass mapEntity = new MapClass(); mapEntity.Category = "Environment"; // Example of getting the Category property string category = mapEntity.Category; // Output: Environment