Add support for filtering static objects when baking graph

Usually I don’t want to have any of my non-static objects be captured by the graph, as by definition, they would probably be able to be moved during gameplay. Even though this can be worked around using layers and it may sometimes inconvenient and you wonder why a newly-created object is not being picked up in the navmesh, I suggest adding a checkbox “Static-only” that filters out non-static objects.

This is a Unity limitation. It doesn’t allow scripts to access this value outside the unity editor (except in a very limited form).

The limited form works well for most common use cases ingame, and the expanded variant is good if using a cache and turning off Baking astar on awake. Not against having a ton of warning signs in the editor for this use case.