docs.unity.cn
    Show / Hide Table of Contents

    Method Equals

    Equals(ComponentTypeHash)

    Checks if another ComponentTypeHash instance is equal to this one

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

    A ComponentTypeHash to compare with

    Returns
    Type Description
    Boolean

    True if other contains the hash value and flags.

    Equals(Object)

    Checks if a ComponentTypeHash equals some object which may or may not be a ComponentTypeHash

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

    An object to compare with

    Returns
    Type Description
    Boolean

    True if obj is a ComponentTypeHash, and contains the same hash value and flags.

    Overrides
    ValueType.Equals(Object)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, September 20, 2023