PreLateUpdate.AIUpdatePostScript
Native Player loop system that updates NavMesh Obstacle components and starts NavMesh carving after MonoBehaviour.Update runs.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.PlayerLoop
- Assembly: UnityEngine.CoreModule
public struct PreLateUpdate.AIUpdatePostScript
Remarks
NavMesh agents update earlier in the frame, in , which also applies the carving results from the previous frame.
PreUpdate.AIUpdateThis 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.