docs.unity3d.com
    目次を表示する/隠す

    Method RegisterCustomAssetGroupCommand

    RegisterCustomAssetGroupCommand(String, Action<IEnumerable<AddressableAssetGroup>>)

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

    Declaration
    public static bool RegisterCustomAssetGroupCommand(string cmdId, Action<IEnumerable<AddressableAssetGroup>> 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<AddressableAssetGroup>> cmdFunc

    The command handler function.

    Returns
    Type Description
    Boolean

    Returns true if the command was registered.

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)