docs.unity3d.com

Entities 1.2.1

Search Results for

    Show / Hide Table of Contents

    Method Equals

    Equals(ComponentType)

    Checks if this component type has the same TypeIndex and AccessModeType as the other component type.

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

    The other component type to compare to

    Returns
    Type Description
    bool

    True if the TypeIndex and AccessModeTypeof both are equal

    Equals(object)

    Checks to see if an object is equal to this component type.

    Declaration
    [ExcludeFromBurstCompatTesting("Takes managed object")]
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    The object to check

    Returns
    Type Description
    bool

    True if the object is a ComponentType and the object equals this component type

    Overrides
    ValueType.Equals(object)
    In This Article
    • Equals(ComponentType)
    • Equals(object)
    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)