Documentation

Unity Engine


Unity Engine


BakingTypeAttribute

Attribute that indicates that a component should persist in the baking world, but shouldn't be exported with the runtime data.
Read time 3 minutesLast updated 2 days ago

Definition

public class BakingTypeAttribute : Attribute

Remarks

During incremental baking, components with the [BakingType] attribute persist in the baking world. This allows baking systems to process entities which haven't been modified during the current baking iteration, but which are dependencies to the final result of the baking.
Components with the [BakingType] attribute are not exported in the runtime data.
Additional Resources: TemporaryBakingTypeAttribute

Inheritance

Inherited Members