9 lines
190 B
GDScript3
9 lines
190 B
GDScript3
|
tool
|
||
|
extends EditorPlugin
|
||
|
|
||
|
func _enter_tree() -> void:
|
||
|
add_custom_type("Gift", "Node", preload("gift_node.gd"), preload("icon.png"))
|
||
|
|
||
|
func _exit_tree() -> void:
|
||
|
remove_custom_type("Gift")
|