Time for action – creating the NavMesh
Unity can automatically generate a NavMesh from any meshes that exist in a scene. To do so, the mesh must first be marked as static, just as we did for lightmaps. However, we do not want or need to be able to navigate the roofs of our city, so we make use of a special list of settings for dictating what type of static each object will be:
Select the city from the Hierarchy window and click on the down arrow to the right of Static in the Inspector window and we can take a look at the options available for static objects as follows:
Nothing: This option is used to quickly deselect all the other options. If all the others are unchecked, this one will be checked.
Everything: Using this option, you can quickly select all the other options. When all of them are checked, this one will also be checked. The checkbox next to the Static label in the Inspector window performs the same function as checking and unchecking the Everything checkbox.
Lightmap Static:...