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.
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 |