/// <summary>
 /// Gets the instance of this PathfindingNodeManager.
 /// </summary>
 /// <returns>The PathfindingNodeManager.</returns>
 public static PathfindingNodeManager GetInstance()
 {
     if (instance == null) instance = new PathfindingNodeManager();
     return instance;
 }