Documentation

Unity Engine

Download Unity

Unity Engine

CompleteDependency()

Ensures all jobs running on this EntityQuery complete.
Read time 1 minuteLast updated a month ago

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.