ドキュメント

Unity Engine

Unity Engine

GamepadSpeakerOutputType

Gamepad audio output types.
読み終わるまでの所要時間 1 分最終更新 19日前

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.