docs.unity.cn
    Show / Hide Table of Contents

    Method FindGroup

    FindGroup(Func<AddressableAssetGroup, Boolean>)

    Find asset group by functor.

    Declaration
    public AddressableAssetGroup FindGroup(Func<AddressableAssetGroup, bool> func)
    Parameters
    Type Name Description
    Func<AddressableAssetGroup, Boolean> func

    The functor to call on each group. The first group that evaluates to true is returned.

    Returns
    Type Description
    AddressableAssetGroup

    The group found or null.

    FindGroup(String)

    Find asset group by name.

    Declaration
    public AddressableAssetGroup FindGroup(string groupName)
    Parameters
    Type Name Description
    String groupName

    The name of the group.

    Returns
    Type Description
    AddressableAssetGroup

    The group found or null.

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