Function GridGraphSnapshot.Restore
        
                Restore
        
                (IGraphUpdateContext ctx)
    
            
            Restores the graph data to the state it had when the snapshot was taken, in the bounding box that the snapshot captured.
                Public
            
        void Restore (
ctx  |         
Restores the graph data to the state it had when the snapshot was taken, in the bounding box that the snapshot captured.
You can get the context from the callback provided to the AstarPath.AddWorkItem method.