ドキュメント

Unity Engine

Unity Engine

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.