docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetAssetLoadPath

    GetAssetLoadPath(bool)

    The asset load path. This is used to determine the internal id of resource locations.

    Declaration
    public string GetAssetLoadPath(bool isBundled)
    Parameters
    Type Name Description
    bool isBundled

    True if the asset will be contained in an asset bundle.

    Returns
    Type Description
    string

    Return the runtime path that should be used to load this entry.

    GetAssetLoadPath(bool, HashSet<string>)

    The asset load path. This is used to determine the internal id of resource locations.

    Declaration
    public string GetAssetLoadPath(bool isBundled, HashSet<string> otherLoadPaths)
    Parameters
    Type Name Description
    bool isBundled

    True if the asset will be contained in an asset bundle.

    HashSet<string> otherLoadPaths

    The internal ids of the asset, typically shortened versions of the asset's GUID.

    Returns
    Type Description
    string

    Return the runtime path that should be used to load this entry.

    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)