docs.unity.cn
    Show / Hide Table of Contents

    Method Exclude

    Exclude(Type)

    Returns a ComponentType with Exclude based on the type.

    Declaration
    [ExcludeFromBurstCompatTesting("Takes a managed Type")]
    public static ComponentType Exclude(Type type)
    Parameters
    Type Name Description
    Type type

    The type

    Returns
    Type Description
    ComponentType

    The component type

    Exclude(TypeIndex)

    Returns a ComponentType with Exclude based on the typeIndex.

    Declaration
    public static ComponentType Exclude(TypeIndex typeIndex)
    Parameters
    Type Name Description
    TypeIndex typeIndex

    The index

    Returns
    Type Description
    ComponentType

    The component type

    Exclude<T>()

    Returns a ComponentType with Exclude based on the generic type T.

    Declaration
    [GenerateTestsForBurstCompatibility(GenericTypeArguments = new Type[]{typeof(Entity)})]
    public static ComponentType Exclude<T>()
    Returns
    Type Description
    ComponentType

    The component type

    Type Parameters
    Name Description
    T

    The type

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