Audio.update 方法

设置是否应播放游戏声音。

签名

update(isEnabled: boolean): void;

参数

名称 类型 可选 说明
isEnabled boolean

返回结果

void