Method RunByRef
RunByRef<T>(T, EntityQuery)
Declaration
public static void RunByRef<T>(this T jobData, EntityQuery query)
where T : struct, IJobEntity
Parameters
Type | Name | Description |
---|---|---|
T | jobData | |
EntityQuery | query |
Type Parameters
Name | Description |
---|---|
T |
RunByRef<T>(T)
Runs the given job on the main thread. By referencing the job data.
Declaration
public static void RunByRef<T>(this T jobData)
where T : struct, IJobEntity
Parameters
Type | Name | Description |
---|---|---|
T | jobData | The implemented IJobEntity job |
Type Parameters
Name | Description |
---|---|
T | Type of IJobEntity implementation |