ドキュメント

Unity Engine

Unity Engine

SetTargetAudioSource(ushort, AudioSource)

Sets the AudioSource that will receive audio samples for the specified track if this audio target is selected with VideoPlayer.audioOutputMode.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public void SetTargetAudioSource(ushort trackIndex, AudioSource source)

Parameters

trackIndex

Index of the audio track to associate with the specified AudioSource.

AudioSource to associate with the audio track.