The editor plugin nonsense turned out to be useless

This commit is contained in:
2025-03-08 17:23:48 -08:00
parent 295d2cd838
commit a2c493b81e
6 changed files with 1 additions and 41 deletions

View File

@ -2,10 +2,7 @@
# This file is the BSON serializer for the Godot Engine,
# published under the MIT license. https://opensource.org/license/MIT
extends Node
# Unfortunately, this has to be a node in order to be a singleton.
# I'd rather BSON wasn't in the scenetree, but it seems like that's
# the only way to do this. Hopefully this will change in the future.
class_name BSON
static func to_bson(data: Dictionary) -> PackedByteArray:

View File

@ -1,7 +0,0 @@
[plugin]
name="BSON"
description="A BSON class to serialize and deserialize BSON in GDScript."
author="Colormatic Studios"
version=""
script="plugin.gd"

View File

@ -1,20 +0,0 @@
@tool
extends EditorPlugin
const AUTOLOAD_NAME = "BSON"
#func _enter_tree() -> void:
# Initialization of the plugin goes here.
#pass
#func _exit_tree() -> void:
# Clean-up of the plugin goes here.
#pass
func _enable_plugin() -> void:
add_autoload_singleton(AUTOLOAD_NAME, "res://addons/bson/bson.gd")
func _disable_plugin() -> void:
remove_autoload_singleton(AUTOLOAD_NAME)

View File

@ -1 +0,0 @@
uid://csghpbkcd8wca