Version: 2019.1 (switch to 2018.3 or 2017.4)
LanguageEnglish
  • C#

DownloadHandlerAudioClip.GetData

protected byte[] GetData();

Returns

byte[] A copy of the downloaded data.

Description

Called by DownloadHandler.data. Returns a copy of the downloaded clip data as raw bytes.

Note: Each call to this method allocates a new byte array.

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