Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / ui / MapEditorCreateMark.tscn
@小李xl 小李xl on 9 Aug 2023 2 KB 抽出IUiNode接口
  1. [gd_scene load_steps=2 format=3 uid="uid://bt4xo2lb4h4rx"]
  2.  
  3. [ext_resource type="Script" path="res://src/game/ui/mapEditorCreateMark/MapEditorCreateMarkPanel.cs" id="1_cjivg"]
  4.  
  5. [node name="MapEditorCreateMark" type="Control"]
  6. layout_mode = 3
  7. anchors_preset = 15
  8. anchor_right = 1.0
  9. anchor_bottom = 1.0
  10. script = ExtResource("1_cjivg")
  11.  
  12. [node name="MarginContainer" type="MarginContainer" parent="."]
  13. layout_mode = 1
  14. anchors_preset = 15
  15. anchor_right = 1.0
  16. anchor_bottom = 1.0
  17. grow_horizontal = 2
  18. grow_vertical = 2
  19. theme_override_constants/margin_left = 20
  20. theme_override_constants/margin_top = 50
  21. theme_override_constants/margin_right = 20
  22. theme_override_constants/margin_bottom = 20
  23.  
  24. [node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
  25. layout_mode = 2
  26. theme_override_constants/separation = 20
  27.  
  28. [node name="HBoxContainer2" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
  29. layout_mode = 2
  30.  
  31. [node name="WaveNameLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer2"]
  32. layout_mode = 2
  33. size_flags_horizontal = 3
  34. size_flags_stretch_ratio = 20.0
  35. text = "所属波数:"
  36. horizontal_alignment = 2
  37. vertical_alignment = 1
  38.  
  39. [node name="WaveOption" type="OptionButton" parent="MarginContainer/VBoxContainer/HBoxContainer2"]
  40. layout_mode = 2
  41. size_flags_horizontal = 3
  42. size_flags_stretch_ratio = 80.0
  43.  
  44. [node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
  45. layout_mode = 2
  46.  
  47. [node name="DelayNameLabel" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer"]
  48. layout_mode = 2
  49. size_flags_horizontal = 3
  50. size_flags_stretch_ratio = 20.0
  51. text = "延时时间:"
  52. horizontal_alignment = 2
  53. vertical_alignment = 1
  54.  
  55. [node name="DelayInput" type="SpinBox" parent="MarginContainer/VBoxContainer/HBoxContainer"]
  56. layout_mode = 2
  57. size_flags_horizontal = 3
  58. size_flags_stretch_ratio = 80.0
  59. max_value = 30.0
  60. step = 0.01
  61. custom_arrow_step = 0.1
  62.  
  63. [node name="AddMark" type="Button" parent="MarginContainer/VBoxContainer"]
  64. layout_mode = 2
  65. size_flags_horizontal = 4
  66. text = "添加物体"
  67.  
  68. [node name="Panel" type="Panel" parent="MarginContainer/VBoxContainer"]
  69. layout_mode = 2
  70. size_flags_vertical = 3
  71.  
  72. [node name="MarkObject" type="HBoxContainer" parent="MarginContainer/VBoxContainer/Panel"]
  73. layout_mode = 1
  74. anchors_preset = 10
  75. anchor_right = 1.0
  76. offset_bottom = 43.0
  77. grow_horizontal = 2
  78.  
  79. [node name="Label" type="Label" parent="MarginContainer/VBoxContainer/Panel/MarkObject"]
  80. layout_mode = 2
  81. size_flags_horizontal = 3
  82. text = "123456"
  83. horizontal_alignment = 2