extends Node3D # Game.gd - Main Entrypoint for the game @onready var ui: UI = $UI # Called when the node enters the scene tree for the first time. func _ready() -> void: SaveGame.load() # Update the UI when the Inventory (global) changes Inventory.inventory_changed.connect(ui._update_ui)