docs.unity.cn
    Show / Hide Table of Contents

    Method CreateListResult

    CreateListResult(Type, Object[])

    Used to create an operation result that has multiple items.

    Declaration
    public static IList CreateListResult(Type type, Object[] allAssets)
    Parameters
    Type Name Description
    Type type

    The type of the result objects.

    Object[] allAssets

    The result objects.

    Returns
    Type Description
    IList

    An IList of the resulting objects.

    CreateListResult<TObject>(Object[])

    Used to create an operation result that has multiple items.

    Declaration
    public static TObject CreateListResult<TObject>(Object[] allAssets)
    Parameters
    Type Name Description
    Object[] allAssets

    The result objects.

    Returns
    Type Description
    TObject

    An IList of the resulting objects converted to TObject.

    Type Parameters
    Name Description
    TObject

    The type of the result.

    Back to top Copyright © 2021 Unity Technologies
    Generated by DocFX
    on Thursday, December 2, 2021
    Terms of use