Version: 2023.2
言語: 日本語
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.