文档

Unity Engine

Download Unity

Unity Engine

RegisterUnityEngineComponentTypeAttribute

When added as an assembly-level attribute, allows creating component type reflection data for UnityEngine objects for the TypeManager to reason about.
阅读时间3 分钟最后更新于 20 天前

Definition

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

Fields

Value

Description

ConcreteTypeUnityEngine component type to register with the TypeManager

Constructors

Constructor

Description

RegisterUnityEngineComponentTypeAttribute(System.Type)Registers a UnityEngine component type with the TypeManager

Inheritance

Inherited Members