文档

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.
阅读时间3 分钟最后更新于 19 天前

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