API reference
API reference
Select your platform
No SDKs available
No versions available

NativeArrayHelper Struct

Extends IDisposable
Helper struct that converts arrays to Unity NativeArray based on type.
Others
T
Data type of the array.

Fields

NativeArray< T > UnityNativeArray[Get]

Member Functions

Constructor that performs the conversion from array to Unity NativeArray.
Parameters
ovrArray
Input array to convert.
length
Length of the input array.
Safely disposes of allocated memory used when converting.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon