docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface ICleanupComponentData

    An interface for a component that must be removed individually after its entity is destroyed.

    Namespace: Unity.Entities
    Assembly: Unity.Entities.dll
    Syntax
    [RequireImplementors]
    public interface ICleanupComponentData : IComponentData, IQueryTypeParameter
    Remarks

    Cleanup components should only be added to individual entities at runtime. They will not be serialized during the baking process, will not be copied to entity instances during instantiation, and are not included when entities are copied between Worlds. See Cleanup Components for additional information.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)