Description
The Variables
property of the MapClass
class provides a list of properties that are exposed to tools for this class. These properties are represented as a list of MapClassVariable
objects, which can be used to define and manipulate various attributes of the map class within the editor environment.
Usage
To access the Variables
property, you need to have an instance of the MapClass
. You can then retrieve or modify the list of MapClassVariable
objects as needed. This is useful for customizing the behavior and appearance of map entities in the editor.
Example
// Example of accessing the Variables property
MapClass myMapClass = new MapClass();
List<Editor.MapClassVariable> variables = myMapClass.Variables;
// Iterate through the variables
foreach (var variable in variables)
{
// Perform operations with each variable
Console.WriteLine(variable.Name);
}