文档

Unity Engine

Unity Engine

RegisterGenericJobTypeAttribute

When added as an assembly-level attribute, allows creating job reflection data for instances of generic jobs.
阅读时间3 分钟最后更新于 1 个月前

Definition

  • Type: Class
  • Namespace: Unity.Jobs
  • Assembly: UnityEngine.ManagedKernelModule
  • Inherits from: Attribute
[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.

Fields

Value

Description

ConcreteTypeFully closed generic job type to register with the job system

Constructors

Constructor

Description

RegisterGenericJobTypeAttribute(System.Type)Registers a fully closed generic job type with the job system

Inheritance

Inherited Members