Starting an inventory manager

This commit is contained in:
2026-04-20 11:41:22 +02:00
parent f9ca56e34a
commit 667d6b2588
9 changed files with 57 additions and 20 deletions

View File

@@ -3,13 +3,10 @@
class_name InventoryWrapper
extends OverlaidMenu
@export var player: PlayerController
@onready var inventory: Control = %Inventory
func _ready() -> void:
if Engine.is_editor_hint(): return
inventory.Player = player
func _on_close_button_pressed() -> void:
close()