docs.unity.cn
    Show / Hide Table of Contents

    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.

    Inheritance
    Object
    Attribute
    TypeManager.TypeVersionAttribute
    Namespace: Unity.Entities
    Syntax
    [AttributeUsage(AttributeTargets.Struct)]
    public class TypeVersionAttribute : Attribute, _Attribute

    Constructors

    Name Description
    TypeVersionAttribute(Int32)

    Override the StableTypeHash for the component type.

    Fields

    Name Description
    TypeVersion

    The StableTypeHash override

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023