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

Method add_plugin

editor/editor_node.cpp:9004–9007  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9002}
9003
9004void EditorPluginList::add_plugin(EditorPlugin *p_plugin) {
9005 ERR_FAIL_COND(plugins_list.has(p_plugin));
9006 plugins_list.push_back(p_plugin);
9007}
9008
9009void EditorPluginList::remove_plugin(EditorPlugin *p_plugin) {
9010 plugins_list.erase(p_plugin);

Callers 1

_plugin_over_editMethod · 0.45

Calls 2

hasMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected