Version: 2023.2

NavMesh.OnNavMeshPreUpdate

切换到手册
public delegatevoid OnNavMeshPreUpdate ();

描述

Registers callback methods to be invoked before the NavMesh system updates.

这对于在更新周期中模拟代理之前更新导航网格和链接很有用。

Additional resources: onPreUpdate.