Fixed annoying error
This commit is contained in:
parent
100afe5e51
commit
aa1c1c8d64
8 changed files with 38 additions and 49 deletions
11
scripts/debug/inventory_preview.gd
Normal file
11
scripts/debug/inventory_preview.gd
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
extends Label
|
||||
|
||||
|
||||
@export var inventory: WeaponSystem
|
||||
|
||||
func _process(_delta: float) -> void:
|
||||
var weapons = ""
|
||||
for child in inventory.get_children():
|
||||
if child is WeaponSubStateMachine:
|
||||
weapons += child.name + ", "
|
||||
text = weapons
|
||||
1
scripts/debug/inventory_preview.gd.uid
Normal file
1
scripts/debug/inventory_preview.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://dmy6ahci16los
|
||||
Loading…
Add table
Add a link
Reference in a new issue