docs.unity.cn
    Show / Hide Table of Contents

    Class BakingTypeAttribute

    Attribute that indicates that a component should persist in the baking world, but shouldn't be exported with the runtime data.

    Inheritance
    Object
    Attribute
    BakingTypeAttribute
    Namespace: Unity.Entities
    Syntax
    public class BakingTypeAttribute : Attribute, _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.

    See Also

    TemporaryBakingTypeAttribute
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023