docs.unity.cn
    Show / Hide Table of Contents

    Method EnumerateAddressableFolder

    EnumerateAddressableFolder(String, AddressableAssetSettings, Boolean, IBuildLogger)

    Collects and returns all the asset paths of a given Addressable folder entry

    Declaration
    public static List<string> EnumerateAddressableFolder(string path, AddressableAssetSettings settings, bool recurseAll, IBuildLogger logger = null)
    Parameters
    Type Name Description
    String path

    The path of the folder

    AddressableAssetSettings settings

    The AddressableAssetSettings used to gather sub entries.

    Boolean recurseAll

    Flag indicating if the folder should be traversed recursively.

    IBuildLogger logger

    Used to log messages during a build, if desired.

    Returns
    Type Description
    List<String>

    List of asset files in a given folder entry

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Friday, March 4, 2022
    Terms of use