{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Method Equals | Collections | 2.3.0-pre.3
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Equals

    Equals(FixedList32Bytes<T>)

    Returns true if this list and another list are equal.

    Declaration
    public bool Equals(FixedList32Bytes<T> other)
    Parameters
    Type Name Description
    FixedList32Bytes<T> other

    The list to compare for equality.

    Returns
    Type Description
    bool

    True if the two lists are equal.

    Remarks

    Two lists are equal if their length and bytes are equal.

    Equals(FixedList64Bytes<T>)

    Returns true if this list and another list are equal.

    Declaration
    public bool Equals(FixedList64Bytes<T> other)
    Parameters
    Type Name Description
    FixedList64Bytes<T> other

    The list to compare for equality.

    Returns
    Type Description
    bool

    True if the two lists are equal.

    Remarks

    Two lists are equal if their length and bytes are equal.

    Equals(FixedList128Bytes<T>)

    Returns true if this list and another list are equal.

    Declaration
    public bool Equals(FixedList128Bytes<T> other)
    Parameters
    Type Name Description
    FixedList128Bytes<T> other

    The list to compare for equality.

    Returns
    Type Description
    bool

    True if the two lists are equal.

    Remarks

    Two lists are equal if their length and bytes are equal.

    Equals(FixedList512Bytes<T>)

    Returns true if this list and another list are equal.

    Declaration
    public bool Equals(FixedList512Bytes<T> other)
    Parameters
    Type Name Description
    FixedList512Bytes<T> other

    The list to compare for equality.

    Returns
    Type Description
    bool

    True if the two lists are equal.

    Remarks

    Two lists are equal if their length and bytes are equal.

    Equals(FixedList4096Bytes<T>)

    Returns true if this list and another list are equal.

    Declaration
    public bool Equals(FixedList4096Bytes<T> other)
    Parameters
    Type Name Description
    FixedList4096Bytes<T> other

    The list to compare for equality.

    Returns
    Type Description
    bool

    True if the two lists are equal.

    Remarks

    Two lists are equal if their length and bytes are equal.

    Equals(object)

    Returns true if the list is equal to an object.

    Declaration
    [ExcludeFromBurstCompatTesting("Takes managed object")]
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    An object to compare for equality.

    Returns
    Type Description
    bool

    True if the list is equal to the object.

    Overrides
    ValueType.Equals(object)
    Remarks

    Two lists are equal if their length and bytes are equal.

     A FixedList*N*<T> can only be equal to another FixedList*N*<T> with the same *N* and T.
    
    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)