Starting an inventory manager
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user