{!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(object)

    AllocatorManager.AllocatorHandle instances are equal if they refer to the same instance at the same version.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    Object containing an AllocatorManager.AllocatorHandle.

    Returns
    Type Description
    bool

    Returns true if both handles are for the same allocator instance at the same version, otherwise false.

    Overrides
    ValueType.Equals(object)

    Equals(AllocatorHandle)

    AllocatorManager.AllocatorHandle instances are equal if they refer to the same instance at the same version.

    Declaration
    public bool Equals(AllocatorManager.AllocatorHandle other)
    Parameters
    Type Name Description
    AllocatorManager.AllocatorHandle other

    AllocatorManager.AllocatorHandle to compare against.

    Returns
    Type Description
    bool

    Returns true if both handles are for the same allocator instance at the same version, otherwise false.

    Equals(Allocator)

    AllocatorManager.AllocatorHandle instances are equal if they refer to the same instance at the same version.

    Declaration
    public bool Equals(Allocator other)
    Parameters
    Type Name Description
    Allocator other

    Allocator to compare against.

    Returns
    Type Description
    bool

    Returns true if both handles are for the same allocator instance at the same version, otherwise false.

    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)