docs.unity3d.com
Search Results for

    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
    bool

    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
    bool

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

    Overrides
    ValueType.Equals(object)
    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)