16 lines
529 B
GDScript
Executable file
16 lines
529 B
GDScript
Executable file
@tool
|
|
extends EditorPlugin
|
|
|
|
|
|
func _enter_tree():
|
|
# Initialization of the plugin goes here.
|
|
# Add the new type with a name, a parent type, a script and an icon.
|
|
add_custom_type("Sync", "Node", preload("sync.gd"), preload("icon.png"))
|
|
#add_custom_type("RaycastSensor2D2", "Node", preload("raycast_sensor_2d.gd"), preload("icon.png"))
|
|
|
|
|
|
func _exit_tree():
|
|
# Clean-up of the plugin goes here.
|
|
# Always remember to remove it from the engine when deactivated.
|
|
remove_custom_type("Sync")
|
|
#remove_custom_type("RaycastSensor2D2")
|