List<MapClassVariable> Variables { get; set; }

robot_2Generated
code_blocksInput

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 variables as needed. This property is particularly useful when you need to customize or extend the functionality of a map class by adding or modifying its properties.

Example

// Example of accessing the Variables property

// Assume mapClass is an instance of MapClass
MapClass mapClass = new MapClass();

// Access the list of variables
List<Editor.MapClassVariable> variables = mapClass.Variables;

// Iterate through the variables
foreach (var variable in variables)
{
    // Perform operations with each variable
    Console.WriteLine(variable.Name);
}