venus/plugin.gd

10 lines
341 B
GDScript3
Raw Normal View History

2024-05-15 21:08:58 +02:00
@tool
extends EditorPlugin
var icon_unknown: Texture2D = ImageTexture.create_from_image(RenderingServer.texture_2d_get
(RenderingServer.get_white_texture()))
2024-05-16 00:37:40 +02:00
func _enter_tree() -> void:
if !DirAccess.dir_exists_absolute("res://addons/SUI"):
printerr("StarOpenSource UI is not installed in this project. Functionality will be limited.")