ld-56/components/Triggerer/editor.gd
2024-10-06 04:22:46 -04:00

8 lines
261 B
GDScript

@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")