docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Class RegisterGenericJobTypeAttribute

    When added as an assembly-level attribute, allows creating job reflection data for instances of generic jobs.

    Inheritance
    object
    Attribute
    RegisterGenericJobTypeAttribute
    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
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)