docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method FromAssetPath

    FromAssetPath(string)

    Creates an AssetNode from an asset path.

    Declaration
    public static AssetNode FromAssetPath(string assetPath)
    Parameters
    Type Name Description
    string assetPath

    The project-relative asset path used to resolve a GUID.

    Returns
    Type Description
    AssetNode

    The created node, or null if the path is invalid.

    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)