docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)