Global refactor
This commit is contained in:
parent
3868af29e3
commit
0589ca4e23
180 changed files with 249 additions and 401 deletions
11
systems/debug/inventory_preview.gd
Normal file
11
systems/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
|
||||
Loading…
Add table
Add a link
Reference in a new issue