Hide controls on win screen

This commit is contained in:
Zacharie Guet 2024-09-02 00:14:14 +02:00
parent 55afdb608e
commit e13faa02d2
2 changed files with 2 additions and 1 deletions

View File

@ -112,7 +112,7 @@ label_settings = SubResource("LabelSettings_y5jk3")
horizontal_alignment = 1
vertical_alignment = 1
[node name="TextureRect2" type="TextureRect" parent="Tuto/MarginContainer"]
[node name="Controls" type="TextureRect" parent="Tuto/MarginContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 0

View File

@ -29,6 +29,7 @@ func _input(event):
func win():
show()
$MarginContainer/Controls.hide()
$RobotSpeak.playing = true
$MarginContainer/Text.text = win_text