docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetCatalogFolderKey

    GetCatalogFolderKey(bool, bool, out bool)

    Gets the folder key this entry is loaded by, or null if it has none. The settings are those of the group being built, except for a folder member, which uses its folder's group so it keeps the keys it shipped with.

    Declaration
    public string GetCatalogFolderKey(bool includeFolderKeys, bool includeAddressesForFolderChildren, out bool includeAddress)
    Parameters
    Type Name Description
    bool includeFolderKeys

    Whether the group being built adds folder keys to the catalog.

    bool includeAddressesForFolderChildren

    Whether the group being built keeps the address key of assets loaded by a folder key.

    bool includeAddress

    True if the entry's own address should also be added to the catalog as a key.

    Returns
    Type Description
    string

    The folder key to add to the catalog for this entry, or null 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)