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
    Generated by DocFX
    on Wednesday, June 21, 2023