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.
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.
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;
MapNode node = new MapNode(); node.Name = "SpawnPoint"; string nodeName = node.Name;