docs.unity.cn
    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
    Boolean

    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
    Boolean

    True, if both SystemHandles represent the same system instance.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023