Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CopyFromNBC<T>(NativeList<T>, T[])

Clears this list and then copies all the elements of an array to this list.
Read time 1 minuteLast updated 13 days ago

Definition

CopyFromNBC<T>(NativeList<T>, `<>[])

[ExcludeFromBurstCompatTesting("Takes managed array")]public static void CopyFromNBC<T>(this NativeList<T> list, T[] array) where T : unmanaged

Parameters

This list.

array

The managed array to copy from.