Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CopyFrom

Copies all the elements from a NativeSlice<T> or managed array of the same length.
Read time 1 minuteLast updated 11 days ago

Definition

CopyFrom(NativeSlice<T>)

Copies all the elements from a NativeSlice<T> or managed array of the same length.
public void CopyFrom(NativeSlice<T> slice)

Parameters

The NativeSlice<T> to copy the elements from.

CopyFrom(`0[])

Copies all the elements from a NativeSlice<T> or managed array of the same length.
public void CopyFrom(T[] array)

Parameters

array

The array to copy elements from.