NavMeshAgent.walkableMask
var walkableMask: int;
Description

Specifies which NavMesh layers are passable (bitfield). Changing walkableMask will make the path stale (see isPathStale).