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 editing and visualization of map entities within the editor environment.
Usage
Use the EditorHelpers
property to access and manage the list of editor-specific tools and visual aids associated with a MapClass
. Each entry in the list is a tuple consisting of a string identifier and an array of strings, which can be used to define and configure the behavior of the helper tools.
Example
// Example of accessing the EditorHelpers property
var mapClass = new MapClass();
List<Tuple<string, string[]>> helpers = mapClass.EditorHelpers;
// Iterate through the helpers
foreach (var helper in helpers)
{
string helperName = helper.Item1;
string[] helperParams = helper.Item2;
// Use helperName and helperParams as needed
// For example, logging or configuring editor behavior
}