RegisterUnityEngineComponentTypeAttribute
When added as an assembly-level attribute, allows creating component type reflection data for UnityEngine objects for the TypeManager to reason about.
Read time 3 minutesLast updated 17 hours ago
Definition
- Type: Class
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
- Inherits from: Attribute
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]public class RegisterUnityEngineComponentTypeAttribute : Attribute
Fields
Value | Description |
|---|---|
| ConcreteType | UnityEngine component type to register with the TypeManager |
Constructors
Constructor | Description |
|---|---|
| RegisterUnityEngineComponentTypeAttribute(System.Type) | Registers a UnityEngine component type with the TypeManager |