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");
			}
		}