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

Method _pinned

modules/multiplayer/editor/multiplayer_editor_plugin.cpp:161–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161void MultiplayerEditorPlugin::_pinned() {
162 if (!repl_editor->get_pin()->is_pressed() && repl_editor->get_current() == nullptr) {
163 if (repl_editor->is_visible_in_tree()) {
164 EditorNode::get_bottom_panel()->hide_bottom_panel();
165 }
166 button->hide();
167 }
168}
169
170void MultiplayerEditorPlugin::edit(Object *p_object) {
171 repl_editor->edit(Object::cast_to<MultiplayerSynchronizer>(p_object));

Callers

nothing calls this directly

Calls 6

get_pinMethod · 0.80
is_pressedMethod · 0.45
get_currentMethod · 0.45
is_visible_in_treeMethod · 0.45
hide_bottom_panelMethod · 0.45
hideMethod · 0.45

Tested by

no test coverage detected