string Name { get; set; }

robot_2Generated
code_blocksInput

Description

The Name property of the MapNode class represents a user-specified name for the node. This property allows you to assign a meaningful identifier to a node within the map, which can be useful for organization and reference purposes.

Usage

To get or set the name of a MapNode, use the Name property. This property is a string and can be accessed publicly.

Example usage:

MapNode node = new MapNode();
node.Name = "SpawnPoint";
string nodeName = node.Name;

Example

MapNode node = new MapNode();
node.Name = "SpawnPoint";
string nodeName = node.Name;