Search Unity

Baking navmehs in prefabs

Discussion in 'Navigation' started by BigB, Jun 18, 2017.

  1. BigB

    BigB

    Joined:
    Oct 16, 2008
    Posts:
    672
    Hi there,

    I was checking the dungeon example, how do we bake the navmesh in the prefabs that we instantiate ?
    In the example everything is already baked, so can't really see how it was done.
    Any hints ?

    thanks,
    Bruno
     
    mannanazhar978 likes this.
  2. Jakob_Unity

    Jakob_Unity

    Joined:
    Dec 25, 2011
    Posts:
    269
    If you select the prefab instance the inspector reads : "Select the Prefab asset to bake or clear the navmesh".
    If you select the prefab asset - you'll see two buttons in the inspector "Clear" and "Bake"
     
    cogofhate likes this.