9 lines
206 B
GDScript
9 lines
206 B
GDScript
@tool
|
|
extends EditorPlugin
|
|
|
|
func _enter_tree():
|
|
add_custom_type("StateMachine", "Node2D", preload("state_machine.gd"), preload("state_machine.png"))
|
|
|
|
func _exit_tree():
|
|
remove_custom_type("StateMachine")
|