classes/class_editorinterface #168
Replies: 1 comment
-
|
In gdscript, to avoid errors when exporting your game, like: var editor_interface = Engine.get_singleton("EditorInterface") # Avoids explicitly using the Singleton
#if not EditorInterface.is_plugin_enabled("dabber"): # This gives the error
if not editor_interface.is_plugin_enabled("dabber"): # This works okay, but you lose auto-complete
passSuggested on The Godot forum by "mrcdk" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
classes/class_editorinterface
Inherits: Object Godot editor's interface. Description: EditorInterface gives you control over Godot editor's window. It allows customizing the window, saving and (re-)loading scenes, rendering mes...
https://docs.godotengine.org/en/stable/classes/class_editorinterface.html
Beta Was this translation helpful? Give feedback.
All reactions