Documentation

Unity Engine

Unity Engine

muteState

Returns true if current device media volume is 0.
Read time 1 minuteLast updated a month 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.