Class ConverterVersionAttribute | Entities | 0.10.0-preview.6
docs.unity3d.com
    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

    ConverterVersionAttribute(String, Int32)

    Declaration
    public ConverterVersionAttribute(string userName, int version)
    Parameters
    Type Name Description
    String userName
    Int32 version

    Fields

    UserName

    Declaration
    public string UserName
    Field Value
    Type Description
    String

    Version

    Declaration
    public int Version
    Field Value
    Type Description
    Int32
    In This Article
    • Constructors
      • ConverterVersionAttribute(String, Int32)
    • Fields
      • UserName
      • Version
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023