VideoPlayer.SetTargetAudioSource

Cambiar al Manual
public void SetTargetAudioSource (ushort trackIndex, AudioSource source);

Parámetros

trackIndexIndex of the audio track to associate with the specified AudioSource.
source AudioSource to associate with the audio track.

Descripción

Sets the AudioSource that will receive audio samples for the specified track if this audio target is selected with VideoPlayer.audioOutputMode.