1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Merge pull request #99555 from Meorge/mute-game

Add "Mute Game" toggle in Game view
This commit is contained in:
Thaddeus Crews
2025-03-19 17:46:11 -05:00
12 changed files with 108 additions and 0 deletions

View File

@@ -1543,6 +1543,17 @@ void ScriptEditorDebugger::live_debug_reparent_node(const NodePath &p_at, const
}
}
bool ScriptEditorDebugger::get_debug_mute_audio() const {
return debug_mute_audio;
}
void ScriptEditorDebugger::set_debug_mute_audio(bool p_mute) {
Array msg;
msg.push_back(p_mute);
_put_msg("scene:debug_mute_audio", msg);
debug_mute_audio = p_mute;
}
CameraOverride ScriptEditorDebugger::get_camera_override() const {
return camera_override;
}