basic ECS spawner

This commit is contained in:
2026-01-15 15:27:48 +01:00
parent 24a781f36a
commit eb737b469c
860 changed files with 58621 additions and 32 deletions

View File

@@ -0,0 +1,26 @@
class_name GecsSettings
extends Node
const SETTINGS_LOG_LEVEL = "gecs/settings/log_level"
const SETTINGS_DEBUG_MODE = "gecs/settings/debug_mode"
const project_settings = {
"log_level":
{
"path": SETTINGS_LOG_LEVEL,
"default_value": GECSLogger.LogLevel.ERROR,
"type": TYPE_INT,
"hint": PROPERTY_HINT_ENUM,
"hint_string": "TRACE,DEBUG,INFO,WARNING,ERROR",
"doc": "What log level GECS should log at.",
},
"debug_mode":
{
"path": SETTINGS_DEBUG_MODE,
"default_value": false,
"type": TYPE_BOOL,
"hint": PROPERTY_HINT_NONE,
"hint_string": "",
"doc": "Enable debug mode for GECS operations. Enables editor debugger integration but impacts performance significantly.",
}
}