string GroupName { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The GroupName property of the MapClassVariable class represents the category or group to which this variable belongs. This can be useful for organizing variables into logical groups, especially when dealing with complex data structures or configurations in the editor environment.

Usage

To use the GroupName property, simply access it through an instance of the MapClassVariable class. You can get or set the value of this property as needed.

Example

// Example of using the GroupName property

// Create an instance of MapClassVariable
MapClassVariable mapVar = new MapClassVariable();

// Set the group name for this variable
mapVar.GroupName = "PhysicsSettings";

// Retrieve the group name
string groupName = mapVar.GroupName;

// Output the group name
// Note: Avoid using Console.WriteLine in s&box
// Instead, use appropriate logging or UI display methods
// Log.Info($"Group Name: {groupName}");