docs.unity.cn
    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 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.

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