Navmeshmodifier change area Typ per script

Hello, i want change the navmesh area Typ of my Object from walkable to unwalkable per Script. How i do this?

You’re not getting any help in all your duplicate threads, because you’re posting in forums as unrelated as possible to your question. Try asking navmesh questions in the Navigation forum.

Navigation - Unity Forum