LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

VideoPlayer.SetDirectAudioMute

public void SetDirectAudioMute(ushort trackIndex, bool mute);

Parameters

trackIndexTrack index for which the mute is set.
muteMute on/off.

Description

Set the direct-output audio mute status for the specified track.