Scan callback from AstarPath.active.Scan

Hello Aron,

Please, is there a way to get a callback (or some kind of return) from the following command:
AstarPath.active.Scan();
I am scanning in real time and I want to know when it finishes for doing the rest of my code.
I can’t find it in the documentation (sorry if it is really there, I did not find).

Thank you.

Hi

AstarPath.active.Scan is a blocking call. The scan will have completed immediately after that method has been called.

Ok, I should have checked that =)
Thanks