docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Equals

    Equals(object)

    SystemHandle instances are equal if they refer to the same system instance.

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

    The object to compare to this SystemHandle.

    Returns
    Type Description
    bool

    True, if the obj is a SystemHandle object and both SystemHandles represent the same system instance.

    Overrides
    ValueType.Equals(object)

    Equals(SystemHandle)

    Implements IEquatable interface for usage in generic containers. SystemHandle instances are equal if they refer to the same system instance.

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

    Another SystemHandle instance.

    Returns
    Type Description
    bool

    True, if both SystemHandles represent the same system instance.

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