docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetCatalogExtension

    GetCatalogExtension(string)

    Gets the file extension of a catalog path, ignoring any URL query string.

    Declaration
    public static string GetCatalogExtension(string catalogPath)
    Parameters
    Type Name Description
    string catalogPath

    The catalog path or URL.

    Returns
    Type Description
    string

    The file extension of the catalog path (including the leading dot), or an empty string if it has none.

    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)