docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method EnsureFolderTreeInAssetFilePath

    EnsureFolderTreeInAssetFilePath(string)

    Create any missing folder in the file path given. Path must use '/' separator

    Declaration
    public static void EnsureFolderTreeInAssetFilePath(string filePath)
    Parameters
    Type Name Description
    string filePath

    Path to a file or to a folder (ending with '/') to ensure existance of each sub folder in it.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)