Files
gamedev-the-steward/addons/gut/get_editor_interface.gd
T
2026-07-10 15:59:46 +02:00

6 lines
307 B
GDScript

# This file is here so we can load it only when we are in the editor so that
# other places do not have to have "EditorInterface" in them, which causes a
# parser error when loaded outside of the editor. The things we have to do in
# order to test things is annoying.
func get_it():
return EditorInterface