Documentation

Unity Engine


Unity Engine


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

[AttributeUsage(AttributeTargets.Struct)]public class TypeManager.TypeVersionAttribute : Attribute

Fields

Value

Description

TypeVersionThe StableTypeHash override

Constructors

Constructor

Description

TypeVersionAttribute(System.Int32)Override the StableTypeHash for the component type.

Inheritance

Inherited Members