mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Merge pull request #99555 from Meorge/mute-game
Add "Mute Game" toggle in Game view
This commit is contained in:
commit
97241ffea6
12 changed files with 108 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue