Documentation

Unity Engine


Unity Engine


Run

Runs the job immediately on the current thread.
Read time 1 minuteLast updated 14 hours ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule

Run<T>(T)

Runs the job immediately on the current thread.
public static void Run<T>(this T jobData) where T : struct, IJobEntity

Parameters

jobData

T
An IJobEntity instance.

Run<T>(T, EntityQuery)

Runs the job immediately on the current thread.
public static void Run<T>(this T jobData, EntityQuery query) where T : struct, IJobEntity

Parameters

jobData

T
An IJobEntity instance.

The query selecting chunks with the necessary components.