docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method Contains

    Contains<T, U>(ref FixedList4096Bytes<T>, U)

    Returns true if a particular value is present in this list.

    Declaration
    public static bool Contains<T, U>(this ref FixedList4096Bytes<T> list, U value) where T : unmanaged, IEquatable<U>
    Parameters
    Type Name Description
    FixedList4096Bytes<T> list

    The list to search.

    U value

    The value to locate.

    Returns
    Type Description
    bool

    True if the value is present in this list.

    Type Parameters
    Name Description
    T

    The type of elements in this list.

    U

    The value type.

    In This Article
    Back to top
    Copyright © 2023 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)