docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Equals

    Equals(IResourceLocation, IResourceLocation)

    Check if two Resource locations are equal

    Declaration
    public bool Equals(IResourceLocation x, IResourceLocation y)
    Parameters
    Type Name Description
    IResourceLocation x

    First location to compare

    IResourceLocation y

    Second location to compare

    Returns
    Type Description
    bool

    True if they're equal, false otherwise

    Implements
    IEqualityComparer<T>.Equals(T, T)
    In This Article
    Back to top
    Copyright © 2025 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)