Pathfinding.GraphNode.Destroy C# (CSharp) 메소드

Destroy() 공개 메소드

public Destroy ( ) : void
리턴 void
		public void Destroy () {
			//Already destroyed
			if (nodeIndex == -1) return;
			
			ClearConnections(true);
			
			if (AstarPath.active != null) {
				AstarPath.active.DestroyNode(this);
			}
			nodeIndex = -1;
			//System.Console.WriteLine ("~");
		}