Legacy Documentation: Version 2017.2 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

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: