docs.unity.cn
    Show / Hide Table of Contents

    Method HasDescendants

    HasDescendants(TypeIndex)

    Returns if any component inherits from the provided TypeIndex

    Declaration
    [GenerateTestsForBurstCompatibility]
    public static bool HasDescendants(TypeIndex baseTypeIndex)
    Parameters
    Type Name Description
    TypeIndex baseTypeIndex

    Parent type

    Returns
    Type Description
    Boolean

    Returns if any component inherits from baseTypeIndex

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