MeshNode.UpdateRecursiveG C# (CSharp) Method

UpdateRecursiveG() public method

public UpdateRecursiveG ( Path, path, PathNode, pathNode, PathHandler, handler ) : void
path Path,
pathNode PathNode,
handler PathHandler,
return void
		public override void UpdateRecursiveG (Path path, PathNode pathNode, PathHandler handler)
		{
			UpdateG (path,pathNode);
			
			handler.PushNode (pathNode);
			
			for (int i=0;i<connections.Length;i++) {
				GraphNode other = connections[i];
				PathNode otherPN = handler.GetPathNode (other);
				if (otherPN.parent == pathNode && otherPN.pathID == handler.PathID) {
					other.UpdateRecursiveG (path, otherPN,handler);
				}
			}
		}