TypeManager.TypeVersionAttribute
TypeVersion allows you to override the TypeManager.TypeInfo.StableTypeHash for a component type to a specific value rather than using the default generated hash.
Read time 3 minutesLast updated 3 days ago
Definition
- Type: Class
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
- Inherits from: Attribute
[AttributeUsage(AttributeTargets.Struct)]public class TypeManager.TypeVersionAttribute : Attribute
Fields
Value | Description |
|---|---|
| TypeVersion | The StableTypeHash override |
Constructors
Constructor | Description |
|---|---|
| TypeVersionAttribute(System.Int32) | Override the StableTypeHash for the component type. |