Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


onPreUpdate

Set a function to be called before the NavMesh is updated during the frame update execution.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine.AI
  • Assembly: UnityEngine.AIModule
public static NavMesh.OnNavMeshPreUpdate onPreUpdate

Remarks

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