文档

Unity Engine

Unity Engine

CompleteDependency()

Ensures all jobs running on this EntityQuery complete.
阅读时间1 分钟最后更新于 19 天前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public void CompleteDependency()

Remarks

An entity query uses jobs internally when required to create arrays of entities and chunks. This function completes those jobs and returns when they are finished.