Let's set up and configure our level's NavMesh:
- Select the Environment GameObject, click on the arrow icon next to Static in the Inspector window, and choose Navigation Static:
- Click Yes, change children when the dialogue window pops up to set all the Environment child objects to Navigation Static.
- Go to Window | AI | Navigation and select the Bake tab. Leave everything set to their default values and click Bake:
Every object in our level is now marked as Navigation Static, which means that our newly-baked NavMesh has evaluated their accessibility based on its default NavMeshAgent settings. Everywhere you can see a light blue overlay in the preceding screenshot is a perfectly walkable surface for any object with a NavMeshAgent component attached, which is your next task.