2020-05-14 02:36:45 +02:00
|
|
|
tool
|
|
|
|
extends EditorPlugin
|
|
|
|
|
|
|
|
func _enter_tree():
|
|
|
|
add_autoload_singleton("Utilities","res://addons/easy_charts/Utilities/utilities.gd")
|
2020-05-18 07:46:26 +02:00
|
|
|
# Containers are not really that useful
|
|
|
|
# add_custom_type("ChartContainer", "Container", load("Utilities/ChartContainer.gd"), load("Utilities/icons/linechart.svg"))
|
|
|
|
# add_custom_type("ChartContainer2D", "Node2D", load("Utilities/ChartContainer2D.gd"), load("Utilities/icons/linechart2d.svg"))
|
2020-05-14 02:36:45 +02:00
|
|
|
|
|
|
|
func _exit_tree():
|
2020-05-18 07:46:26 +02:00
|
|
|
# remove_custom_type("ChartContainer")
|
|
|
|
# remove_custom_type("ChartContainer2D")
|
2020-05-14 02:36:45 +02:00
|
|
|
remove_autoload_singleton("Utilities")
|