BakingTypeAttribute
Attribute that indicates that a component should persist in the baking world, but shouldn't be exported with the runtime data.
読み終わるまでの所要時間 3 分最終更新 1ヶ月前
Definition
- Type: Class
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
- Inherits from: Attribute
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