docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method RegisterCustomAssetEntryCommand

    RegisterCustomAssetEntryCommand(string, Action<IEnumerable<AddressableAssetEntry>>)

    Register a custom command to process asset entries. These commands will be shown in the context menu of the groups window.

    Declaration
    public static bool RegisterCustomAssetEntryCommand(string cmdId, Action<IEnumerable<AddressableAssetEntry>> cmdFunc)
    Parameters
    Type Name Description
    string cmdId

    The id of the command. This will be used for the display name of the context menu item.

    Action<IEnumerable<AddressableAssetEntry>> cmdFunc

    The command handler function.

    Returns
    Type Description
    bool

    Returns true if the command was registered.

    In This Article
    Back to top
    Copyright © 2025 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)