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.

NavMesh.RemoveSettings

public static void RemoveSettings(int agentTypeID);

Parameters

agentTypeIDThe ID of the entry to remove.

Description

Removes the build settings matching the agent type ID.

If no matching settings are found or the agentTypeID is the default value 0, nothing is removed.