docs.unity.cn
    Show / Hide Table of Contents

    Class ConverterVersionAttribute

    By declaring a version number a ComponentSystem can ensure that any cached data by the asset pipeline was prepared using the active code. If the version number of any conversion system or optimization system changes or a new conversion system is added, then the scene will be re-converted.

    Inheritance
    Object
    Attribute
    ConverterVersionAttribute
    Namespace: Unity.Entities
    Syntax
    [AttributeUsage(AttributeTargets.Class)]
    public class ConverterVersionAttribute : Attribute, _Attribute

    Constructors

    Name Description
    ConverterVersionAttribute(String, Int32)

    Fields

    Name Description
    UserName

    An identifier for the user that made the last change. Use this to enforce a merge conflict when two different users both try to bump the version at the same time.

    Version

    The version number of the converter. Increase this to invalidate the cached versions of entity scenes that use the converter that is tagged with this attribute.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use