docs.unity.cn
    Show / Hide Table of Contents

    Class BakingVersionAttribute

    By default if no baking version are declared in an assembly, the scene will be re-imported if the assembly has changed. If you only want to re-trigger scene import if a baker, a baking system or an optimization system has changed and not something else in the assembly, use this attribute and bump its version or username everytime you want to re-trigger the scene import.

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

    Constructors

    Name Description
    BakingVersionAttribute(Boolean)

    Initializes and returns an instance of BakingVersionAttribute that is excluded from changing the Baking behaviour for an assembly.

    BakingVersionAttribute(String, Int32)

    Initializes and returns an instance of BakingVersionAttribute

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