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
- Type: Class
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
- Inherits from: Attribute
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]public class RegisterGenericComponentTypeAttribute : Attribute
Fields
Value | Description |
|---|---|
| ConcreteType | Fully 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 |