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.
선언
public static bool RegisterCustomAssetEntryCommand(string cmdId, Action<IEnumerable<AddressableAssetEntry>> cmdFunc)
파라미터
| 타입 | 이름 | 설명 |
|---|---|---|
| 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. |
반환
| 타입 | 설명 |
|---|---|
| bool | Returns true if the command was registered. |