Version: 2017.3
public AudioSource GetTargetAudioSource (ushort trackIndex);

パラメーター

trackIndex Index of the audio track for which the AudioSource is wanted.

戻り値

AudioSource The source associated with the audio track.

説明

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