LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

Parameters

urlThe nominal (pre-redirect) URL at which the audio clip is located.
audioTypeValue to set for AudioClip type.

Description

Constructor, specifies what kind of audio data is going to be downloaded.

The value in audioType will be used to parameterize the AudioClip when importing the downloaded audio data.