Method InvokeAssetGroupCommand
InvokeAssetGroupCommand(string, IEnumerable<AddressableAssetGroup>)
Invoke a registered command for a set of groups.
Declaration
public static bool InvokeAssetGroupCommand(string cmdId, IEnumerable<AddressableAssetGroup> groups)
Parameters
Type | Name | Description |
---|---|---|
string | cmdId | The id of the command. |
IEnumerable<AddressableAssetGroup> | groups | The groups to run the command on. |
Returns
Type | Description |
---|---|
bool | Returns true if the command was invoked successfully. |