Documentation

Unity Engine


Unity Engine


RegisterGenericComponentTypeAttribute

When added as an assembly-level attribute, allows creating component type reflection data for instances of generic components for the TypeManager to reason about.
Read time 3 minutesLast updated 2 days ago

Definition

[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]public class RegisterGenericComponentTypeAttribute : Attribute

Fields

Value

Description

ConcreteTypeFully closed generic component type to register with the TypeManager

Constructors

Constructor

Description

RegisterGenericComponentTypeAttribute(System.Type)Registers a fully closed generic component type with the TypeManager

Inheritance

Inherited Members