docs.unity.cn
    Show / Hide Table of Contents

    Method ToArray

    ToArray()

    Copies the elements of this BlobArray to a new managed array.

    Declaration
    public T[] ToArray()
    Returns
    Type Description
    T[]

    An array containing copies of the elements of the BlobArray.

    Exceptions
    Type Condition
    InvalidOperationException

    Throws InvalidOperationException if the array type contains nested BlobArray<T>, BlobString or BlobPtr<T> fields.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023