stuff
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://dilbjuywlv0mc"]
|
||||
[gd_scene load_steps=5 format=3 uid="uid://dilbjuywlv0mc"]
|
||||
|
||||
[ext_resource type="Shader" path="res://src/shaders/ui/blur.gdshader" id="1_q1q1u"]
|
||||
[ext_resource type="Script" path="res://ui/src/pause_menu.gd" id="1_qw2fh"]
|
||||
[ext_resource type="Script" path="res://ui/src/grab_focus_on_enter.gd" id="3_eviv0"]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id="ShaderMaterial_dcwl4"]
|
||||
shader = ExtResource("1_q1q1u")
|
||||
@@ -10,7 +11,6 @@ shader_parameter/tint = Color(0.5, 0.5, 0.5, 1)
|
||||
|
||||
[node name="PauseMenu" type="Control"]
|
||||
process_mode = 2
|
||||
visible = false
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
@@ -51,11 +51,11 @@ vertical_alignment = 1
|
||||
[node name="ContinueButton" type="Button" parent="MainPanel/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Continue"
|
||||
script = ExtResource("3_eviv0")
|
||||
|
||||
[node name="QuitButton" type="Button" parent="MainPanel/MarginContainer/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Quit
|
||||
"
|
||||
text = "Quit"
|
||||
|
||||
[connection signal="pressed" from="MainPanel/MarginContainer/VBoxContainer/ContinueButton" to="." method="_on_continue"]
|
||||
[connection signal="pressed" from="MainPanel/MarginContainer/VBoxContainer/QuitButton" to="." method="_on_quit"]
|
||||
|
||||
Reference in New Issue
Block a user