Version: 2018.4
public AudioSource GetTargetAudioSource (ushort trackIndex);

パラメーター

trackIndexIndex 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.