Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / ui / PauseMenu.tscn
@小李xl 小李xl on 9 Mar 2024 2 KB 制作图鉴
  1. [gd_scene load_steps=3 format=3 uid="uid://bkq1wl66w3ais"]
  2.  
  3. [ext_resource type="Script" path="res://src/game/ui/pauseMenu/PauseMenuPanel.cs" id="1_ef73i"]
  4. [ext_resource type="Theme" uid="uid://drb1ajgvcih7p" path="res://resource/theme/theme1.tres" id="2_x1py5"]
  5.  
  6. [node name="PauseMenu" type="Control"]
  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_ef73i")
  14. Layer = 2
  15.  
  16. [node name="ColorRect" type="ColorRect" parent="."]
  17. layout_mode = 1
  18. anchors_preset = 15
  19. anchor_right = 1.0
  20. anchor_bottom = 1.0
  21. grow_horizontal = 2
  22. grow_vertical = 2
  23. color = Color(0, 0, 0, 0.54902)
  24.  
  25. [node name="VBoxContainer" type="VBoxContainer" parent="."]
  26. layout_mode = 1
  27. anchors_preset = 8
  28. anchor_left = 0.5
  29. anchor_top = 0.5
  30. anchor_right = 0.5
  31. anchor_bottom = 0.5
  32. offset_left = -64.0
  33. offset_top = -79.0
  34. offset_right = 64.0
  35. offset_bottom = 79.0
  36. grow_horizontal = 2
  37. grow_vertical = 2
  38.  
  39. [node name="Continue" type="Button" parent="VBoxContainer"]
  40. custom_minimum_size = Vector2(0, 50)
  41. layout_mode = 2
  42. focus_neighbor_top = NodePath("../Exit")
  43. focus_neighbor_bottom = NodePath("../Setting")
  44. theme = ExtResource("2_x1py5")
  45. text = "继续"
  46.  
  47. [node name="Restart" type="Button" parent="VBoxContainer"]
  48. custom_minimum_size = Vector2(0, 50)
  49. layout_mode = 2
  50. focus_neighbor_top = NodePath("../Exit")
  51. focus_neighbor_bottom = NodePath("../Setting")
  52. theme = ExtResource("2_x1py5")
  53. text = "重新开始"
  54.  
  55. [node name="Encyclopedia" type="Button" parent="VBoxContainer"]
  56. custom_minimum_size = Vector2(0, 50)
  57. layout_mode = 2
  58. focus_neighbor_top = NodePath("../Exit")
  59. focus_neighbor_bottom = NodePath("../Setting")
  60. theme = ExtResource("2_x1py5")
  61. text = "图鉴"
  62.  
  63. [node name="Setting" type="Button" parent="VBoxContainer"]
  64. custom_minimum_size = Vector2(0, 50)
  65. layout_mode = 2
  66. focus_neighbor_top = NodePath("../Exit")
  67. focus_neighbor_bottom = NodePath("../Setting")
  68. theme = ExtResource("2_x1py5")
  69. text = "设置"
  70.  
  71. [node name="Exit" type="Button" parent="VBoxContainer"]
  72. custom_minimum_size = Vector2(0, 50)
  73. layout_mode = 2
  74. focus_neighbor_top = NodePath("../Exit")
  75. focus_neighbor_bottom = NodePath("../Setting")
  76. theme = ExtResource("2_x1py5")
  77. text = "退出游戏"