Callback for NavmeshUpdate

Hello,

Is there any callback or a way to know when a navmesh updates its “surface”?

Ex: when a NavmeshCut is enabled/moved and/or when the navmesh is re-scanned.

Thanks in advance,

Julen.

Hi

What you can do is to subclass the NavmeshCut component and then override the NotifyUpdated method. That will be called whenever at least one tile which contained that navmesh cut was updated.

1 Like

Thank you so much Aron.