This version of Unity is unsupported.

NativeSlice<T0>.CopyFrom

Declaration

public void CopyFrom(NativeSlice<T> slice);

Declaration

public void CopyFrom(T[] array);

Parameters

slice NativeSlice.
array Array.

Description

Copy all the elements from a NativeSlice or managed array of the same length.