feat: Toggle visibility of shop items in _ready()
This commit is contained in:
parent
78705127c4
commit
bdeb64137a
7
shop.gd
7
shop.gd
|
|
@ -7,6 +7,13 @@ var special_currency: int = 0
|
||||||
|
|
||||||
signal shop_exit
|
signal shop_exit
|
||||||
|
|
||||||
|
func _ready() -> void:
|
||||||
|
$Tux.visible = true
|
||||||
|
$Xenia.visible = true
|
||||||
|
$TuxUpgrades.visible = false
|
||||||
|
$XeniaUpgrades.visible = false
|
||||||
|
|
||||||
|
|
||||||
func _process(delta: float) -> void:
|
func _process(delta: float) -> void:
|
||||||
$Money.text = str(available_money)
|
$Money.text = str(available_money)
|
||||||
$SpecialMoney.text = str(special_currency)
|
$SpecialMoney.text = str(special_currency)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue