12 lines
391 B
GDScript
12 lines
391 B
GDScript
@tool
|
|
extends EditorPlugin
|
|
|
|
var button: Button = preload("res://addons/besseretests/scenesrc/editorbutton.tscn").instantiate()
|
|
|
|
func _enter_tree():
|
|
add_control_to_container(CustomControlContainer.CONTAINER_TOOLBAR, button)
|
|
|
|
func _exit_tree():
|
|
remove_control_from_container(CustomControlContainer.CONTAINER_TOOLBAR, button)
|
|
button.queue_free()
|
|
print("Thank you for using Bessere Tests!")
|