Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / ui / Setting.tscn
  1. [gd_scene load_steps=3 format=3 uid="uid://bnwweusrc44xy"]
  2.  
  3. [ext_resource type="Script" path="res://src/game/ui/setting/SettingPanel.cs" id="1_ff0oi"]
  4. [ext_resource type="Texture2D" uid="uid://cajcnlimvoxk" path="res://resource/sprite/ui/commonIcon/Back.png" id="2_vgl60"]
  5.  
  6. [node name="Setting" type="Control"]
  7. layout_mode = 3
  8. anchors_preset = 15
  9. anchor_right = 1.0
  10. anchor_bottom = 1.0
  11. script = ExtResource("1_ff0oi")
  12.  
  13. [node name="ColorRect" type="ColorRect" parent="."]
  14. layout_mode = 1
  15. anchors_preset = 15
  16. anchor_right = 1.0
  17. anchor_bottom = 1.0
  18. grow_horizontal = 2
  19. grow_vertical = 2
  20. color = Color(0.109804, 0.0666667, 0.0901961, 1)
  21.  
  22. [node name="Back" type="Button" parent="."]
  23. layout_mode = 0
  24. offset_right = 98.0
  25. offset_bottom = 98.0
  26. icon = ExtResource("2_vgl60")
  27. flat = true
  28. icon_alignment = 1
  29. expand_icon = true
  30.  
  31. [node name="Title" type="Label" parent="."]
  32. layout_mode = 1
  33. anchors_preset = 10
  34. anchor_right = 1.0
  35. offset_bottom = 98.0
  36. grow_horizontal = 2
  37. theme_override_font_sizes/font_size = 48
  38. text = "游戏设置"
  39. horizontal_alignment = 1
  40. vertical_alignment = 1
  41.  
  42. [node name="VBoxContainer" type="VBoxContainer" parent="."]
  43. layout_mode = 1
  44. anchors_preset = 15
  45. anchor_right = 1.0
  46. anchor_bottom = 1.0
  47. offset_top = 123.0
  48. offset_bottom = -48.0
  49. grow_horizontal = 2
  50. grow_vertical = 2
  51.  
  52. [node name="FullScreen" type="HBoxContainer" parent="VBoxContainer"]
  53. custom_minimum_size = Vector2(600, 0)
  54. layout_mode = 2
  55. size_flags_horizontal = 4
  56. size_flags_vertical = 0
  57.  
  58. [node name="Name" type="Label" parent="VBoxContainer/FullScreen"]
  59. layout_mode = 2
  60. size_flags_horizontal = 3
  61. text = "全屏"
  62.  
  63. [node name="CheckBox" type="CheckBox" parent="VBoxContainer/FullScreen"]
  64. layout_mode = 2
  65. size_flags_horizontal = 10