docs.unity3d.com
Search Results for

    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
    Assembly: Unity.Entities.dll
    Syntax
    [AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct)]
    public class BakingVersionAttribute : Attribute

    Constructors

    Name Description
    BakingVersionAttribute(bool)

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

    BakingVersionAttribute(string, int)

    Initializes and returns an instance of BakingVersionAttribute

    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)