Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


APIOnly

Send the embedded audio to the associated AudioSampleProvider.
Read time 1 minuteLast updated 10 days ago

Definition

APIOnly = 3

Remarks

Use this setting if you want to use Unity scripting to alter the video’s raw audio data. This is useful if you want direct, low-level control over the audio, or to analyse the data. Since the audio data goes through scripts instead of to the system's speakers or an Audio Mixer, the audio won't automatically play or be heard by the user. Therefore, if you want audio playback, you need to implement a way to process and output the data to suit your needs (via third-party plugins or custom implementations.