LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

NavMeshBuildSettings.agentTypeID

public int agentTypeID;

Description

The agent type ID the NavMesh will be baked for.

Each NavMeshAgent or NavMeshQueryFilter can only use a NavMesh which is build for its agent type; it is the ID that is matched.