Method GetAllAssets
GetAllAssets(List<AddressableAssetEntry>, Boolean, Func<AddressableAssetGroup, Boolean>, Func<AddressableAssetEntry, Boolean>)
Gets all asset entries from all groups.
Declaration
public void GetAllAssets(List<AddressableAssetEntry> assets, bool includeSubObjects, Func<AddressableAssetGroup, bool> groupFilter = null, Func<AddressableAssetEntry, bool> entryFilter = null)
Parameters
Type | Name | Description |
---|---|---|
List<AddressableAssetEntry> | assets | The list of asset entries. |
Boolean | includeSubObjects | Determines if sub objects such as sprites should be included. |
Func<AddressableAssetGroup, Boolean> | groupFilter | A method to filter groups. Groups will be processed if filter is null, or it returns TRUE |
Func<AddressableAssetEntry, Boolean> | entryFilter | A method to filter entries. Entries will be processed if filter is null, or it returns TRUE |