Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetNativeData()

Provides allocation-free access to the downloaded data as a NativeArray.
Read time 1 minuteLast updated 9 days ago

Definition

protected virtual NativeArray<byte> GetNativeData()

Returns

Type

Description

NativeArray<byte>NativeArray providing access to downloaded data.

Remarks

The data is owned by the download handler and memory is released when the download handler is disposed. The returned NativeArray is read-only.