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

Method open_scene_from_path

editor/editor_interface.cpp:657–662  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

655}
656
657void EditorInterface::open_scene_from_path(const String &scene_path, bool p_set_inherited) {
658 if (EditorNode::get_singleton()->is_changing_scene()) {
659 return;
660 }
661 EditorNode::get_singleton()->load_scene(scene_path, false, p_set_inherited);
662}
663
664void EditorInterface::reload_scene_from_path(const String &scene_path) {
665 if (EditorNode::get_singleton()->is_changing_scene()) {

Callers 2

_open_requestMethod · 0.80
_cell_button_pressedMethod · 0.80

Calls 2

is_changing_sceneMethod · 0.80
load_sceneMethod · 0.80

Tested by

no test coverage detected