aboutsummaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorRémi Verschelde2018-01-31 17:22:00 +0100
committerGitHub2018-01-31 17:22:00 +0100
commitb06262539cbfe4afc441f9be74332c50f2938ad7 (patch)
tree166879c1e9a3c990d98340b667c641cfc62d2f05 /doc/classes
parent20a52aa39db9a6e35738ee486848bd3dd28510cb (diff)
parent87be0bc1101d7cf52ca40c5b3b7fc87b785edfb1 (diff)
downloadgodot-b06262539cbfe4afc441f9be74332c50f2938ad7.tar.gz
godot-b06262539cbfe4afc441f9be74332c50f2938ad7.tar.zst
godot-b06262539cbfe4afc441f9be74332c50f2938ad7.zip
Merge pull request #16212 from vnen/code-enable-plugin
Add interface for plugins to enable/disable other plugins
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/EditorInterface.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/classes/EditorInterface.xml b/doc/classes/EditorInterface.xml
index 4d3b31ae3..61c93becd 100644
--- a/doc/classes/EditorInterface.xml
+++ b/doc/classes/EditorInterface.xml
@@ -100,6 +100,15 @@
Shows the given property on the given [code]object[/code] in the Editor's Inspector dock.
</description>
</method>
+ <method name="is_plugin_enabled" qualifiers="const">
+ <return type="bool">
+ </return>
+ <argument index="0" name="plugin" type="String">
+ </argument>
+ <description>
+ Returns the enabled status of a plugin. The plugin name is the same as its directory name.
+ </description>
+ </method>
<method name="make_mesh_previews">
<return type="Array">
</return>
@@ -155,6 +164,17 @@
<description>
</description>
</method>
+ <method name="set_plugin_enabled">
+ <return type="void">
+ </return>
+ <argument index="0" name="plugin" type="String">
+ </argument>
+ <argument index="1" name="enabled" type="bool">
+ </argument>
+ <description>
+ Sets the enabled status of a plugin. The plugin name is the same as its directory name.
+ </description>
+ </method>
</methods>
<constants>
</constants>