giants-godot/addons/silicon.vfx.lens_flare/plugin.gd

15 lines
223 B
GDScript3
Raw Normal View History

2021-09-17 15:04:05 +02:00
tool
extends EditorPlugin
func _enter_tree() -> void:
add_custom_type(
"LensFlare", "Node",
preload("lens_flare.gd"),
preload("lens_flare_icon.png")
)
func _exit_tree() -> void:
remove_custom_type("LensFlare")