WaitForBuiltInQueueFlush()
Forcefully wait for any commands created on ControlContext.builtIn or on any derivative objects to have taken effect.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine.Audio
- Assembly: UnityEngine.AudioModule
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.