SUI/sui/plugin.gd

11 lines
433 B
GDScript3
Raw Normal View History

2024-05-10 14:39:53 +02:00
@tool
extends EditorPlugin
2024-05-10 14:44:35 +02:00
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/")
2024-05-10 14:39:53 +02:00
2024-05-10 14:44:35 +02:00
func _exit_tree():
print("Thank you for using StarOpenSource UI")