[gd_scene load_steps=3 format=2] [ext_resource path="res://Scenes/UI/DefaultTheme.tres" type="Theme" id=1] [ext_resource path="res://Scenes/Menus/PauseMenu.gd" type="Script" id=2] [node name="PauseMenu" type="ColorRect"] pause_mode = 2 anchor_right = 1.0 anchor_bottom = 1.0 theme = ExtResource( 1 ) color = Color( 0, 0, 0, 1 ) script = ExtResource( 2 ) __meta__ = { "_edit_use_anchors_": false } [node name="CenterContainer" type="CenterContainer" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 __meta__ = { "_edit_use_anchors_": false } [node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"] margin_left = 128.0 margin_top = 54.0 margin_right = 192.0 margin_bottom = 125.0 [node name="PauseLabel" type="Label" parent="CenterContainer/VBoxContainer"] margin_right = 64.0 margin_bottom = 15.0 theme = ExtResource( 1 ) text = "GAME PAUSED" align = 1 [node name="Gap" type="Control" parent="CenterContainer/VBoxContainer"] margin_top = 19.0 margin_right = 64.0 margin_bottom = 31.0 rect_min_size = Vector2( 12, 12 ) [node name="ResumeButton" type="Button" parent="CenterContainer/VBoxContainer"] margin_top = 35.0 margin_right = 64.0 margin_bottom = 51.0 rect_min_size = Vector2( 64, 16 ) text = "Resume game" [node name="QuitButton" type="Button" parent="CenterContainer/VBoxContainer"] margin_top = 55.0 margin_right = 64.0 margin_bottom = 71.0 rect_min_size = Vector2( 64, 16 ) text = "Quit" [connection signal="pressed" from="CenterContainer/VBoxContainer/ResumeButton" to="." method="_on_ResumeButton_pressed"] [connection signal="pressed" from="CenterContainer/VBoxContainer/QuitButton" to="." method="_on_QuitButton_pressed"]