文档

Unity Engine

Download Unity

Unity Engine

FixedUpdate.ScriptRunDelayedFixedFrameRate

Native Player loop system that runs delayed script calls during the fixed update, such as coroutines that yield WaitForFixedUpdate.
阅读时间1 分钟最后更新于 6 天前

Definition

public struct FixedUpdate.ScriptRunDelayedFixedFrameRate

Remarks

This system resumes coroutines that yield WaitForFixedUpdate and code that awaits Awaitable.FixedUpdateAsync. It also runs calls scheduled with MonoBehaviour.Invoke and MonoBehaviour.InvokeRepeating, destroys objects passed to Object.Destroy with a delay, and calls MonoBehaviour.Start() on scripts enabled during the fixed update, if they're due before the next Update. This system is active only in Play mode.
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.