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.

NavMeshLinkInstance.Remove

public void Remove();

Description

Removes this instance from the game.

An identical but convenient alternative to calling NavMesh.RemoveLink. If the instance is not valid, e.g. has been removed before, the call has no effect.