diff options
Diffstat (limited to 'demos/plugins/custom_dock/dock_plugin.gd')
-rw-r--r-- | demos/plugins/custom_dock/dock_plugin.gd | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/demos/plugins/custom_dock/dock_plugin.gd b/demos/plugins/custom_dock/dock_plugin.gd deleted file mode 100644 index ce8a3bcd09..0000000000 --- a/demos/plugins/custom_dock/dock_plugin.gd +++ /dev/null @@ -1,23 +0,0 @@ -tool -extends EditorPlugin - -var dock = null - -func _enter_tree(): - # When this plugin node enters tree, add the custom type - - dock = preload("res://addons/custom_dock/custom_dock.scn").instance() - - add_control_to_dock( DOCK_SLOT_LEFT_UL, dock ) - -func _exit_tree(): - - # Remove from docks (must be called so layout is updated and saved) - remove_control_from_docks(dock) - # Remove the node - dock.free() - - - - -
\ No newline at end of file |