Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GamepadSpeakerOutputType

Gamepad audio output types.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AudioModule
public enum GamepadSpeakerOutputType

Remarks

This API is only for PlayStation 4 and PlayStation 5 platforms. Enclose this API with the UNITY_EDITOR define for platforms other than PlayStation 4 and PlayStation 5.

Fields

Value

Description

SecondaryVibrationAudio output is through a secondary gamepad's vibration device if supported.
SpeakerAudio output is through the gamepads audio speaker if the gamepad supports playing audio.
VibrationAudio output is through the gamepads vibration device if the gamepad supports playing audio as vibration.