docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method CreateArrayResult

    CreateArrayResult(Type, Object[])

    Used to create an operation result that has multiple items.

    Declaration
    public static Array CreateArrayResult(Type type, Object[] allAssets)
    Parameters
    Type Name Description
    Type type

    The type of the result.

    Object[] allAssets

    The result objects.

    Returns
    Type Description
    Array

    Returns Array object with result items.

    CreateArrayResult<TObject>(Object[])

    Used to create an operation result that has multiple items.

    Declaration
    public static TObject CreateArrayResult<TObject>(Object[] allAssets) where TObject : class
    Parameters
    Type Name Description
    Object[] allAssets

    The result objects.

    Returns
    Type Description
    TObject

    Returns result Array as TObject.

    Type Parameters
    Name Description
    TObject

    The type of the result.

    In This Article
    • CreateArrayResult(Type, Object[])
    • CreateArrayResult<TObject>(Object[])
    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)