文档

Unity Engine

Unity Engine

OnMuteStateChanged

A delegate called whenever the device mute state is changed.
阅读时间1 分钟最后更新于 21 天前

Definition

  • Type: Event
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AudioModule
public static event Action<bool> OnMuteStateChanged

Remarks

Note: When this delegate is called AudioSettings.Mobile.muteState property is also updated.