[gd_scene load_steps=3 format=2] [ext_resource path="res://menu/default_theme.tres" type="Theme" id=1] [ext_resource path="res://menu/pause_menu.gd" type="Script" id=2] [node name="PauseMenu" type="PopupDialog"] pause_mode = 2 anchor_left = 0.25 anchor_top = 0.25 anchor_right = 0.75 anchor_bottom = 0.75 theme = ExtResource( 1 ) script = ExtResource( 2 ) __meta__ = { "_edit_use_anchors_": false } [node name="MarginContainer" type="MarginContainer" parent="."] anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 20.0 margin_top = 20.0 margin_right = -20.0 margin_bottom = -20.0 [node name="VSplitContainer" type="VSplitContainer" parent="MarginContainer"] margin_right = 472.0 margin_bottom = 260.0 dragger_visibility = 1 [node name="Title" type="Label" parent="MarginContainer/VSplitContainer"] margin_right = 472.0 margin_bottom = 36.0 text = "Game Paused" align = 1 valign = 1 __meta__ = { "_edit_use_anchors_": false } [node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/VSplitContainer"] margin_top = 60.0 margin_right = 472.0 margin_bottom = 260.0 alignment = 1 [node name="ContinueButton" type="Button" parent="MarginContainer/VSplitContainer/VBoxContainer"] margin_top = 48.0 margin_right = 472.0 margin_bottom = 96.0 text = "Continue" [node name="ExitButton" type="Button" parent="MarginContainer/VSplitContainer/VBoxContainer"] margin_top = 104.0 margin_right = 472.0 margin_bottom = 152.0 text = "Exit to main menu" [connection signal="pressed" from="MarginContainer/VSplitContainer/VBoxContainer/ContinueButton" to="." method="_on_ContinueButton_pressed"] [connection signal="pressed" from="MarginContainer/VSplitContainer/VBoxContainer/ExitButton" to="." method="_on_ExitButton_pressed"]