docs.unity3d.com
Search Results for

    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
    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

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)