ld-56/components/Triggerer/editor.gd

9 lines
261 B
GDScript3
Raw Normal View History

2024-10-06 08:22:46 +00:00
@tool
extends EditorPlugin
func _enter_tree():
add_custom_type("TriggerReceiver", "Node", preload("res://components/Triggerer/trigger_receiver.gd"), preload("res://components/Triggerer/antenna.svg"))
func _exit_tree():
remove_custom_type("TriggerReceiver")