docs.unity3d.com
    Show / Hide Table of Contents

    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

    In This Article
    • GetAllAssets(List<AddressableAssetEntry>, Boolean, Func<AddressableAssetGroup, Boolean>, Func<AddressableAssetEntry, Boolean>)
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023