SUI/sui/plugin.gd

10 lines
433 B
GDScript

@tool
extends EditorPlugin
func _enter_tree():
if !FileAccess.file_exists("res://CORE/.corebasepath") and !FileAccess.file_exists("res://addons/CORE/.corebasepath"):
printerr("The CORE Framework is not installed in your project.\nPlease install the CORE Framework for StarOpenSource UI to work.\nSee https://core.staropensource.de/category/getting-started/")
func _exit_tree():
print("Thank you for using StarOpenSource UI")