Documentation

Unity Engine


Unity Engine


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.
Read time 3 minutesLast updated 3 days ago

Definition

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct)]public class BakingVersionAttribute : Attribute

Constructors

Constructor

Description

BakingVersionAttribute(System.Boolean)Initializes and returns an instance of BakingVersionAttribute that is excluded from changing the Baking behaviour for an assembly.
BakingVersionAttribute(System.String,System.Int32)Initializes and returns an instance of BakingVersionAttribute

Inheritance

Inherited Members