diff options
| author | George Marques | 2018-01-30 20:11:07 -0200 |
|---|---|---|
| committer | Hein-Pieter van Braam | 2018-02-04 20:05:12 +0100 |
| commit | 0a75a38db4bb8bd7784c410b5edab4877b9332db (patch) | |
| tree | de67c5a4f2426da15824859289422074eb3ac972 /doc/classes/EditorInterface.xml | |
| parent | 845f44b9766ca637a222c3aa0185af1dfafb5d4e (diff) | |
| download | godot-0a75a38db4bb8bd7784c410b5edab4877b9332db.tar.gz godot-0a75a38db4bb8bd7784c410b5edab4877b9332db.tar.zst godot-0a75a38db4bb8bd7784c410b5edab4877b9332db.zip | |
Add interface for plugins to enable/disable other plugins
(cherry picked from commit 87be0bc1101d7cf52ca40c5b3b7fc87b785edfb1)
Diffstat (limited to 'doc/classes/EditorInterface.xml')
| -rw-r--r-- | doc/classes/EditorInterface.xml | 20 |
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> |
