文档

Unity Engine

Download Unity

Unity Engine

PreLateUpdate.AIUpdatePostScript

Native Player loop system that updates NavMesh Obstacle components and starts NavMesh carving after MonoBehaviour.Update runs.
阅读时间1 分钟最后更新于 5 天前

Definition

public struct PreLateUpdate.AIUpdatePostScript

Remarks

NavMesh agents update earlier in the frame, in
PreUpdate.AIUpdate
, which also applies the carving results from the previous frame.
This struct identifies a native system in the Player loop. It has no members, and the system's update logic runs in native engine code. Use this type with PlayerLoopSystem.type to find the system when you reorder, replace, or remove it in a custom Player loop. For more information, refer to Customizing the Player loop.