OverviewFilesCommitsIssuesDocsReleasesPeers

hyper-social / keet-social / addons / keet_social / plugin.gd

19 lines · gd ref:
@tool
extends EditorPlugin


func _enter_tree() -> void:
	add_custom_type("KeetClient", "Node", preload("keet_client.gd"), null)
	add_custom_type("KeetRoom", "Node", preload("keet_room.gd"), null)
	add_custom_type("KeetChat", "Node", preload("keet_chat.gd"), null)
	add_custom_type("KeetIdentity", "Node", preload("keet_identity.gd"), null)
	add_custom_type("KeetFeed", "Node", preload("keet_feed.gd"), null)


func _exit_tree() -> void:
	remove_custom_type("KeetClient")
	remove_custom_type("KeetRoom")
	remove_custom_type("KeetChat")
	remove_custom_type("KeetIdentity")
	remove_custom_type("KeetFeed")