Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

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

AudioSettings.driverCapabilities

Switch to Manual
public static var driverCapabilities: AudioSpeakerMode;

Description

Returns the speaker mode capability of the current audio driver. (Read Only)

	// Set the speaker mode to that of the system settings.

AudioSettings.speakerMode = AudioSettings.driverCapabilities;