Class TypeManager.TypeVersionAttribute
TypeVersion allows you to override the StableTypeHash for a component type to a specific value rather than using the default generated hash.
Namespace: Unity.Entities
Assembly: Unity.Entities.dll
Syntax
[AttributeUsage(AttributeTargets.Struct)]
public class TypeManager.TypeVersionAttribute : Attribute
Constructors
Name | Description |
---|---|
TypeVersionAttribute(int) | Override the StableTypeHash for the component type. |
Fields
Name | Description |
---|---|
TypeVersion | The StableTypeHash override |