docs.unity3d.com
    Show / Hide Table of Contents

    Method GetAssetLoadPath

    GetAssetLoadPath(Boolean)

    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
    Boolean 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(Boolean, 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
    Boolean 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.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023