docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetHashCode

    GetHashCode(IResourceLocation)

    Calculates the hash code for a Resource Location

    Declaration
    public int GetHashCode(IResourceLocation obj)
    Parameters
    Type Name Description
    IResourceLocation obj

    The resource location to compute

    Returns
    Type Description
    int

    A hash code of the data in a Resource Location

    Implements
    IEqualityComparer<T>.GetHashCode(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)