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.

SystemInfo.supportsAudio

public static bool supportsAudio;

Description

Is there an Audio device available for playback?

WebGL: This function is not supported and will always return true.