Class RegisterGenericJobTypeAttribute
When added as an assembly-level attribute, allows creating job reflection data for instances of generic jobs.
Namespace: Unity.Jobs
Assembly: Unity.Collections.dll
Syntax
[MovedFrom(true, "Unity.Entities", "Unity.Entities", null)]
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public class RegisterGenericJobTypeAttribute : Attribute
Remarks
This attribute allows specific instances of generic jobs to be registered for reflection data generation.
Constructors
RegisterGenericJobTypeAttribute(Type)
Registers a fully closed generic job type with the job system
Declaration
public RegisterGenericJobTypeAttribute(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type |
Fields
ConcreteType
Fully closed generic job type to register with the job system
Declaration
public Type ConcreteType
Field Value
Type | Description |
---|---|
Type |