clockwork-city/addons/tube/tube_addon.gd
duncgibbs 99de9e8b40
Some checks failed
linting & formatting / build (push) Failing after 5s
itch.io publish action / build (linux64, x86_64) (push) Failing after 34s
itch.io publish action / build (osx, app) (push) Failing after 30s
itch.io publish action / build (win64, exe) (push) Failing after 31s
initial commit
2026-04-13 11:34:00 -05:00

34 lines
457 B
GDScript

@tool
extends EditorPlugin
func _enable_plugin() -> void:
# Add autoloads here.
pass
func _disable_plugin() -> void:
# Remove autoloads here.
pass
func _enter_tree() -> void:
add_custom_type(
"TubeContext",
"Resource",
preload("tube_context.gd"),
null
)
add_custom_type(
"TubeClient",
"Node",
preload("tube_client.gd"),
null
)
func _exit_tree() -> void:
remove_custom_type("TubeContext")
remove_custom_type("TubeClient")