文档

Unity Engine

Download Unity

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.
阅读时间3 分钟最后更新于 19 天前

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