docs.unity3d.com
Search Results for

    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.

    In This Article
    Back to top
    Copyright © 2025 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)