文档

Unity Engine

Unity Engine

audioOutputMode

Destination for the audio embedded in the video.
阅读时间1 分钟最后更新于 1 个月前

Definition

public VideoAudioOutputMode audioOutputMode { get; set; }

Remarks

Note: WebGL only fully supports VideoAudioOutputMode.None and VideoAudioOutputMode.Direct. If you set the output mode to VideoAudioOutputMode.AudioSource, Unity ignores all AudioSource fields except mute. This is because 3D spatialization of video playback is not available on the web.