Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


NavMesh.OnNavMeshPreUpdate

Registers callback methods to be invoked before the NavMesh system updates.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Delegate
  • Namespace: UnityEngine.AI
  • Assembly: UnityEngine.AIModule
public delegate void NavMesh.OnNavMeshPreUpdate()

Remarks

This is useful for updating the NavMesh and links before the agents are simulated during the update cycle.
Additional Resources: _onPreUpdate