文档

Unity Engine

Unity Engine

WaitForBuiltInQueueFlush()

Forcefully wait for any commands created on ControlContext.builtIn or on any derivative objects to have taken effect.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static void WaitForBuiltInQueueFlush()

Remarks

Normally this happens automatically over time. This should only be used in exceptional scenarios (because it mostly likely stalls for a while) or for deterministic testing.