XaiJu
DeathWeasel
DeathWeasel

patreon


MuteInBackground plugin

Adds an option to mute a game when it loses focus, i.e. when alt-tabbed.  Must be enabled in the plugin settings. Should work for any Unity game with BepInEx installed, tested it on all the Illusion games I usually develop for, at least.

Note: Alt-tabbing during game startup will result in sounds still being enabled, this is due to Unity incorrectly reporting the focus state of the application and there's not much I can do about it. Alt-tabbing any time after startup behaves normally.

Download:
https://github.com/BepInEx/BepInEx.Utility/releases 

MuteInBackground plugin

More Creators