docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetLoadInfo

    GetLoadInfo(IResourceLocation, ResourceManager, out LoadType, out string)

    Determines the load type and path for a given resource location. Evaluates whether the resource should be loaded locally or via web request based on the path and options.

    Declaration
    public static void GetLoadInfo(IResourceLocation location, ResourceManager resourceManager, out LoadType loadType, out string path)
    Parameters
    Type Name Description
    IResourceLocation location

    The resource location to evaluate.

    ResourceManager resourceManager

    The resource manager used to transform the internal ID.

    LoadType loadType

    Output parameter indicating whether to load locally or via web request.

    string path

    Output parameter containing the resolved path to load from.

    In This Article
    Back to top
    Copyright © 2026 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)