Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AsArray()

Returns a native array that aliases the content of this list.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public NativeArray<T> AsArray()

Returns

Type

Description

NativeArray<T>A native array that aliases the content of this list.