Version: 2022.2

GamepadSpeakerOutputType

enumeration

切换到手册

描述

游戏手柄音频输出类型。

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.

变量

Speaker如果游戏手柄支持播放音频,则音频通过游戏手柄音频扬声器输出。
Vibration如果游戏手柄支持以振动形式播放音频,则音频通过游戏手柄振动设备输出。
SecondaryVibrationAudio output is through a secondary gamepad's vibration device if supported.