文档

Unity Engine

Download Unity

Unity Engine

Run<T>(T, EntityQuery)

Runs the job immediately on the current thread.
阅读时间1 分钟最后更新于 19 天前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public static void Run<T>(this T jobData, EntityQuery query) where T : struct, IJobChunk

Parameters

jobData

T
An IJobChunk instance.

The query selecting chunks with the necessary components.