Description
The EditorHelpers
property provides a collection of in-editor helper tools for the MapClass
. These helpers can include visual aids such as box visualizers for specific properties, which assist in the design and debugging process within the map editor environment.
Usage
To utilize the EditorHelpers
property, you can access it directly from an instance of MapClass
. This property is a list of tuples, where each tuple contains a string and an array of strings. The string typically represents the name or type of the helper, while the array of strings can contain additional parameters or settings for the helper.
Example
// Example of accessing the EditorHelpers property
MapClass mapClassInstance = new MapClass();
List<Tuple<string, string[]>> helpers = mapClassInstance.EditorHelpers;
// Iterate through the helpers
foreach (var helper in helpers)
{
string helperName = helper.Item1;
string[] helperParams = helper.Item2;
// Use the helperName and helperParams as needed
// For example, logging the helper details
// LogHelperDetails(helperName, helperParams);
}