MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / set_enabled

Method set_enabled

editor/debugger/editor_profiler.cpp:581–586  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

579}
580
581void EditorProfiler::set_enabled(bool p_enable, bool p_clear) {
582 activate->set_disabled(!p_enable);
583 if (p_clear) {
584 clear();
585 }
586}
587
588void EditorProfiler::set_profiling(bool p_pressed) {
589 activate->set_pressed(p_pressed);

Callers 7

_update_translationsMethod · 0.45
set_preview_localeMethod · 0.45
EditorNodeMethod · 0.45
_msg_debug_enterMethod · 0.45
_msg_debug_exitMethod · 0.45
startMethod · 0.45
stopMethod · 0.45

Calls 2

clearFunction · 0.85
set_disabledMethod · 0.45

Tested by

no test coverage detected