Pathfinding.GraphNode.GraphNode C# (CSharp) Метод

GraphNode() публичный Метод

public GraphNode ( AstarPath astar ) : UnityEngine
astar AstarPath
Результат UnityEngine
		public GraphNode (AstarPath astar) {
			//this.nodeIndex = NextNodeIndex++;
			if (astar != null) {
				this.nodeIndex = astar.GetNewNodeIndex();
				astar.InitializeNode (this);
			} else {
				throw new System.Exception ("No active AstarPath object to bind to");
			}
		}