using System; using UnityEngine.Scripting.APIUpdating; namespace Unity.Jobs { /// /// When added as an assembly-level attribute, allows creating job reflection data for instances of generic jobs. /// /// /// This attribute allows specific instances of generic jobs to be registered for reflection data generation. /// [MovedFrom(true, "Unity.Entities", "Unity.Entities")] [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] public class RegisterGenericJobTypeAttribute : Attribute { /// /// Fully closed generic job type to register with the job system /// public Type ConcreteType; /// /// Registers a fully closed generic job type with the job system /// /// public RegisterGenericJobTypeAttribute(Type type) { ConcreteType = type; } } [AttributeUsage(AttributeTargets.Class)] internal class DOTSCompilerGeneratedAttribute : Attribute {} }