文档

Unity Engine

Unity Engine

onPreUpdate

Set a function to be called before the NavMesh is updated during the frame update execution.
阅读时间1 分钟最后更新于 1 个月前

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.