Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

NativeSlice<T0>.CopyTo

public void CopyTo(NativeArray<T> array);
public void CopyTo(T[] array);

Parameters

arrayArray.

Description

Copy all the elements of the slice to a NativeArray or managed array of the same length.

Did you find this page useful? Please give it a rating: