Method GetAllAssets
GetAllAssets(List<AddressableAssetEntry>, bool, Func<AddressableAssetGroup, bool>, Func<AddressableAssetEntry, bool>)
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. |
bool | includeSubObjects | Determines if sub objects such as sprites should be included. |
Func<AddressableAssetGroup, bool> | groupFilter | A method to filter groups. Groups will be processed if filter is null, or it returns TRUE |
Func<AddressableAssetEntry, bool> | entryFilter | A method to filter entries. Entries will be processed if filter is null, or it returns TRUE |