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 |
---|---|
Boolean | Returns true if the command was registered. |