Hide controls on win screen
This commit is contained in:
parent
55afdb608e
commit
e13faa02d2
@ -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
|
||||
|
||||
@ -29,6 +29,7 @@ func _input(event):
|
||||
|
||||
func win():
|
||||
show()
|
||||
$MarginContainer/Controls.hide()
|
||||
$RobotSpeak.playing = true
|
||||
$MarginContainer/Text.text = win_text
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user