AudioSource.PlayOnGamepad

切换到手册

声明

public bool PlayOnGamepad(int slot);

参数

slot 游戏手柄的插槽编号 (0-3)。

返回值

bool 如果通过此用户控制器启用音频输出成功,则返回 TRUE。

描述

启用通过特定游戏手柄播放音频源。


Did you find this page useful? Please give it a rating: