|
| 1 | +[gd_scene load_steps=2 format=3 uid="uid://dmfk0csl7cd27"] |
| 2 | + |
| 3 | +[ext_resource type="Script" path="res://scenes/UI/scripts/PauseMenu.cs" id="1_6jc8n"] |
| 4 | + |
| 5 | +[node name="PauseMenu" type="Control" node_paths=PackedStringArray("pauseButtons")] |
| 6 | +process_mode = 2 |
| 7 | +layout_mode = 3 |
| 8 | +anchors_preset = 15 |
| 9 | +anchor_right = 1.0 |
| 10 | +anchor_bottom = 1.0 |
| 11 | +grow_horizontal = 2 |
| 12 | +grow_vertical = 2 |
| 13 | +script = ExtResource("1_6jc8n") |
| 14 | +pauseButtons = [NodePath("MarginContainer/VBoxContainer/MarginContainer/ResumeButton"), NodePath("MarginContainer/VBoxContainer/MarginContainer2/QuitButton"), NodePath("MarginContainer/VBoxContainer/MarginContainer3/PlaceHolderButton")] |
| 15 | + |
| 16 | +[node name="ColorRect" type="ColorRect" parent="."] |
| 17 | +layout_mode = 2 |
| 18 | +offset_right = 640.0 |
| 19 | +offset_bottom = 360.0 |
| 20 | +color = Color(0.237539, 0.237539, 0.237539, 0.466667) |
| 21 | + |
| 22 | +[node name="MarginContainer" type="MarginContainer" parent="."] |
| 23 | +layout_mode = 1 |
| 24 | +anchors_preset = 15 |
| 25 | +anchor_right = 1.0 |
| 26 | +anchor_bottom = 1.0 |
| 27 | +grow_horizontal = 2 |
| 28 | +grow_vertical = 2 |
| 29 | +theme_override_constants/margin_left = 200 |
| 30 | +theme_override_constants/margin_top = 20 |
| 31 | +theme_override_constants/margin_right = 200 |
| 32 | +theme_override_constants/margin_bottom = 20 |
| 33 | + |
| 34 | +[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"] |
| 35 | +layout_mode = 2 |
| 36 | + |
| 37 | +[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/VBoxContainer"] |
| 38 | +layout_mode = 2 |
| 39 | +size_flags_vertical = 3 |
| 40 | +theme_override_constants/margin_left = 20 |
| 41 | +theme_override_constants/margin_top = 20 |
| 42 | +theme_override_constants/margin_right = 20 |
| 43 | +theme_override_constants/margin_bottom = 20 |
| 44 | + |
| 45 | +[node name="ResumeButton" type="Button" parent="MarginContainer/VBoxContainer/MarginContainer"] |
| 46 | +layout_mode = 2 |
| 47 | +focus_neighbor_top = NodePath("../../MarginContainer3/PlaceHolderButton") |
| 48 | +focus_neighbor_bottom = NodePath("../../MarginContainer2/QuitButton") |
| 49 | +text = "Resume" |
| 50 | + |
| 51 | +[node name="MarginContainer2" type="MarginContainer" parent="MarginContainer/VBoxContainer"] |
| 52 | +layout_mode = 2 |
| 53 | +size_flags_vertical = 3 |
| 54 | +theme_override_constants/margin_left = 20 |
| 55 | +theme_override_constants/margin_top = 20 |
| 56 | +theme_override_constants/margin_right = 20 |
| 57 | +theme_override_constants/margin_bottom = 20 |
| 58 | + |
| 59 | +[node name="QuitButton" type="Button" parent="MarginContainer/VBoxContainer/MarginContainer2"] |
| 60 | +layout_mode = 2 |
| 61 | +focus_neighbor_top = NodePath("../../MarginContainer/ResumeButton") |
| 62 | +focus_neighbor_bottom = NodePath("../../MarginContainer3/PlaceHolderButton") |
| 63 | +text = "Quit" |
| 64 | + |
| 65 | +[node name="MarginContainer3" type="MarginContainer" parent="MarginContainer/VBoxContainer"] |
| 66 | +layout_mode = 2 |
| 67 | +size_flags_vertical = 3 |
| 68 | +theme_override_constants/margin_left = 20 |
| 69 | +theme_override_constants/margin_top = 20 |
| 70 | +theme_override_constants/margin_right = 20 |
| 71 | +theme_override_constants/margin_bottom = 20 |
| 72 | + |
| 73 | +[node name="PlaceHolderButton" type="Button" parent="MarginContainer/VBoxContainer/MarginContainer3"] |
| 74 | +layout_mode = 2 |
| 75 | +focus_neighbor_top = NodePath("../../MarginContainer2/QuitButton") |
| 76 | +focus_neighbor_bottom = NodePath("../../MarginContainer/ResumeButton") |
| 77 | +text = "Quit to Title" |
0 commit comments