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

Method is_addon_plugin_enabled

editor/editor_node.cpp:4098–4104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4096}
4097
4098bool EditorNode::is_addon_plugin_enabled(const String &p_addon) const {
4099 if (p_addon.begins_with("res://")) {
4100 return addon_name_to_plugin.has(p_addon);
4101 }
4102
4103 return addon_name_to_plugin.has("res://addons/" + p_addon + "/plugin.cfg");
4104}
4105
4106void EditorNode::_remove_edited_scene(bool p_change_tab) {
4107 hide_unused_editors(SceneTreeDock::get_singleton());

Callers 4

is_plugin_enabledMethod · 0.80
_should_hide_typeMethod · 0.80
update_pluginsMethod · 0.80

Calls 2

begins_withMethod · 0.80
hasMethod · 0.45

Tested by

no test coverage detected