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.

NavMesh.onPreUpdate

public static AI.NavMesh.OnNavMeshPreUpdate onPreUpdate;

Description

Set a function to be called before the NavMesh is updated during the frame update execution.

This lets you set a delegate function to be called every frame, right before the NavMesh system gets updated.

See Also: OnNavMeshPreUpdate.

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