VideoPlayer.GetTargetAudioSource

Cambiar al Manual
public AudioSource GetTargetAudioSource (ushort trackIndex);

Parámetros

trackIndexIndex of the audio track for which the AudioSource is wanted.

Valor de retorno

AudioSource The source associated with the audio track.

Descripción

Gets the AudioSource that will receive audio samples for the specified track if VideoPlayer.audioOutputMode is set to VideoAudioOutputMode.AudioSource.