docs.unity.cn
    Show / Hide Table of Contents

    Method Contains

    Contains(T)

    Check if the list contains a specific element

    Declaration
    public bool Contains(T item)
    Parameters
    Type Name Description
    T item

    The itme to search for

    Returns
    Type Description
    Boolean

    True if the element is found in the list, or false if not.

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