Description
The Outputs
property of the MapClass
class provides a list of outputs associated with this map entity class. Outputs are events that the entity can trigger, which can be used to interact with other entities or components within the map editor environment.
Usage
Use the Outputs
property to access or modify the list of outputs for a specific map entity class. This property is particularly useful when you need to define or inspect the events that an entity can trigger in response to certain conditions or actions.
Example
// Example of accessing the Outputs property
// Assume 'mapClass' is an instance of Editor.MapClass
List<Editor.Output> outputs = mapClass.Outputs;
// Iterate through the outputs
foreach (var output in outputs)
{
// Process each output
Console.WriteLine(output.Name);
}