NavMeshAgent.areaMask

public int areaMask;

Description

Specifies which NavMesh areas are passable. Changing areaMask will make the path stale (see isPathStale).

This is a bitfield.

Did you find this page useful? Please give it a rating: