文档

Unity Engine

Unity Engine

GamepadSpeakerOutputType

Gamepad audio output types.
阅读时间1 分钟最后更新于 23 天前

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.