docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method RemoveComponentForEntityQuery

    RemoveComponentForEntityQuery(EntityQuery, ComponentType)

    Obsolete. Use RemoveComponent(EntityQuery, ComponentType, EntityQueryCaptureMode) instead.

    Declaration
    [Obsolete("Use RemoveComponent (RemovedAfter Entities 1.0) (UnityUpgradable) -> RemoveComponent(*)")]
    public void RemoveComponentForEntityQuery(EntityQuery entityQuery, ComponentType componentType)
    Parameters
    Type Name Description
    EntityQuery entityQuery

    The query specifying the entities from which the component is removed.

    ComponentType componentType

    The types of component to remove.

    RemoveComponentForEntityQuery<T>(EntityQuery)

    Obsolete. Use RemoveComponent<T>(EntityQuery) instead.

    Declaration
    [Obsolete("Use RemoveComponent (RemovedAfter Entities 1.0) (UnityUpgradable) -> RemoveComponent<T>(*)")]
    public void RemoveComponentForEntityQuery<T>(EntityQuery entityQuery)
    Parameters
    Type Name Description
    EntityQuery entityQuery

    The query specifying the entities from which the component is removed.

    Type Parameters
    Name Description
    T

    The type of component to remove.

    RemoveComponentForEntityQuery(EntityQuery, in ComponentTypeSet)

    Obsolete. Use RemoveComponent(EntityQuery,ComponentTypeSet,EntityQueryCaptureMode) instead.

    Declaration
    [Obsolete("Use RemoveComponent (RemovedAfter Entities 1.0) (UnityUpgradable) -> RemoveComponent(*)")]
    public void RemoveComponentForEntityQuery(EntityQuery entityQuery, in ComponentTypeSet componentTypeSet)
    Parameters
    Type Name Description
    EntityQuery entityQuery

    The query specifying the entities from which the components are removed.

    ComponentTypeSet componentTypeSet

    The types of components to remove.

    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)