cirnogodot/addons/gdai-mcp-plugin-godot/gdai_mcp_runtime.gd

8 lines
252 B
GDScript3
Raw Permalink Normal View History

2026-01-31 08:32:10 +01:00
extends Node
func _enter_tree():
const RUNTIME_SERVER = "GDAIRuntimeServer"
if ClassDB.class_exists(RUNTIME_SERVER) and ClassDB.can_instantiate(RUNTIME_SERVER):
var runtime_server = ClassDB.instantiate(RUNTIME_SERVER)
add_child(runtime_server)