Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Is there a way to know (in a custom Inspector) that the NavMesh has been baked?

Discussion in 'Navigation' started by sarachan, Jan 12, 2021.

  1. sarachan

    sarachan

    Joined:
    Jul 21, 2013
    Posts:
    43
    Is there a way to know, at the level of a custom Inspector, that the NavMesh has been rebaked? I have some calculations that need to be refreshed if the NavMesh has been rebaked. I can add a button to the custom Inspector to run the calculations if there is no other way to do it, but a nicer approach would be if I could automatically run a function after the NavMesh has baked.

    Thanks,
    Brion