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.
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.
Use the Name
property to get or set the class name of a map entity. This property is essential for identifying and categorizing entities within the map editor environment.
// Example of setting the Name property MapClass mapEntity = new MapClass(); mapEntity.Name = "prop_physics"; // Example of getting the Name property string className = mapEntity.Name; // className will be "prop_physics"