Can I set it to wait for a Path Calculation to complete before continuing?

Currently I call StartPath with a callback function which is called when the path finishes calculating. I’d like to just leave that out and wait for the path to complete before continuing in the function in which I call StartPath. Is this possible?



Sure, that is possible.

Path p = ... AstarPath.WaitForPath (p); // Done


Excellent! Thank you.