CompleteAllTrackedJobs()
Waits for all tracked jobs to complete.
阅读时间1 分钟最后更新于 19 天前
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public void CompleteAllTrackedJobs()
Remarks
Calling EntityManager.CompleteAllTrackedJobs blocks the main thread until all currently running tracked Jobs finish.
Tracked JobHandles for this EntityManager.World include every systems resulting JobHandle directly after their OnUpdate.