11 lines
197 B
GDScript
11 lines
197 B
GDScript
@tool
|
|
extends EditorPlugin
|
|
|
|
|
|
func _enter_tree() -> void:
|
|
add_custom_type("Boid2D", "Area2D", preload("boid.gd"), preload("boid_2d.svg"))
|
|
|
|
|
|
func _exit_tree() -> void:
|
|
remove_custom_type("Boid2D")
|