string Name { get; set; }

robot_2Generated
code_blocksInput

Description

The Name property of the MapClass class represents the class name of an entity used in the map editor. This is typically a string identifier such as prop_physics that uniquely identifies the type of entity within the editor.

Usage

To access or modify the class name of a MapClass instance, use the Name property. This property is a string and can be both read and written to.

Example

// Example of setting the Name property
MapClass mapClass = new MapClass();
mapClass.Name = "prop_physics";

// Example of getting the Name property
string className = mapClass.Name;
// className will be "prop_physics"