11 lines
197 B
GDScript3
11 lines
197 B
GDScript3
|
@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")
|