supportsAudio
Is there an Audio device available for playback? (Read Only)
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static bool supportsAudio { get; }
Remarks
If Unity Audio is disabled, this function will return false.
WebGL: This function is not supported and will always return true.