文档

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.
阅读时间3 分钟最后更新于 19 天前

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