Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


muteState

Returns true if current device media volume is 0.
Read time 1 minuteLast updated 11 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AudioModule
public static bool muteState { get; }

Remarks

Note: On iOS mute switch state is not detected because there is no native iOS API to detect if the mute switch is enabled/disabled.