PostLateUpdate.ScriptRunDelayedDynamicFrameRate
Native Player loop system that runs delayed script calls queued after Update.ScriptRunDelayedDynamicFrameRate, such as MonoBehaviour.Start for scripts enabled during Update or LateUpdate.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.PlayerLoop
- Assembly: UnityEngine.CoreModule
public struct PostLateUpdate.ScriptRunDelayedDynamicFrameRate
Remarks
This system runs the same kind of delayed calls as , but picks up the calls that scripts queue later in the frame, so that they run before rendering. This includes MonoBehaviour.Start() for scripts added or enabled during MonoBehaviour.Update() or MonoBehaviour.LateUpdate(), and MonoBehaviour.Invoke calls with no delay. Coroutines that yield during the frame don't resume here. They resume in a later frame.
Update.ScriptRunDelayedDynamicFrameRateThis 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.