Launcher fullscreen and auto-scaled (GUI matrix, lists grow with the screen), game menu fully covered and muted, no minimize
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -72,6 +72,23 @@ namespace MSCO
|
||||
return hidden;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Geräusche und Musik des Spiel-Hauptmenüs stummschalten - der MSCO-Launcher deckt das ganze Menü ab.
|
||||
/// Gibt die Anzahl der stummgeschalteten Quellen zurück.
|
||||
/// </summary>
|
||||
public static int MuteMenuAudio()
|
||||
{
|
||||
int muted = 0;
|
||||
foreach (Object o in Object.FindObjectsOfType(typeof(AudioSource)))
|
||||
{
|
||||
var src = (AudioSource)o;
|
||||
if (src == null || src.mute || src.transform.root.name.StartsWith("MSCO")) continue;
|
||||
src.mute = true;
|
||||
muted++;
|
||||
}
|
||||
return muted;
|
||||
}
|
||||
|
||||
public static void StartGame()
|
||||
{
|
||||
PlayMakerFSM fsm;
|
||||
|
||||
Reference in New Issue
Block a user