Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / ui / EditorTools.tscn
@小李xl 小李xl on 9 Nov 2023 3 KB 制作3个道具
  1. [gd_scene load_steps=2 format=3 uid="uid://kw3o772vpne"]
  2.  
  3. [ext_resource type="Script" path="res://src/game/ui/editorTools/EditorToolsPanel.cs" id="1_43d6l"]
  4.  
  5. [node name="EditorTools" type="Control"]
  6. layout_mode = 3
  7. anchors_preset = 15
  8. anchor_right = 1.0
  9. anchor_bottom = 1.0
  10. grow_horizontal = 2
  11. grow_vertical = 2
  12. size_flags_horizontal = 3
  13. size_flags_vertical = 3
  14. script = ExtResource("1_43d6l")
  15.  
  16. [node name="ScrollContainer" type="ScrollContainer" parent="."]
  17. layout_mode = 0
  18. anchor_right = 1.0
  19. anchor_bottom = 1.0
  20.  
  21. [node name="MarginContainer" type="MarginContainer" parent="ScrollContainer"]
  22. layout_mode = 2
  23. size_flags_horizontal = 3
  24. size_flags_vertical = 3
  25. theme_override_constants/margin_left = 10
  26. theme_override_constants/margin_top = 10
  27. theme_override_constants/margin_right = 10
  28. theme_override_constants/margin_bottom = 10
  29.  
  30. [node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer/MarginContainer"]
  31. layout_mode = 2
  32. size_flags_horizontal = 3
  33. theme_override_constants/separation = 10
  34.  
  35. [node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer/MarginContainer/VBoxContainer"]
  36. layout_mode = 2
  37. theme_override_constants/separation = 5
  38.  
  39. [node name="Label" type="Label" parent="ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer"]
  40. layout_mode = 2
  41. text = "重新生成ResourcePath.cs文件"
  42. vertical_alignment = 1
  43.  
  44. [node name="Button" type="Button" parent="ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer"]
  45. layout_mode = 2
  46. size_flags_horizontal = 0
  47. text = "运行"
  48.  
  49. [node name="HBoxContainer3" type="HBoxContainer" parent="ScrollContainer/MarginContainer/VBoxContainer"]
  50. layout_mode = 2
  51. theme_override_constants/separation = 5
  52.  
  53. [node name="Label" type="Label" parent="ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer3"]
  54. layout_mode = 2
  55. text = "创建游戏Ui"
  56.  
  57. [node name="LineEdit" type="LineEdit" parent="ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer3"]
  58. custom_minimum_size = Vector2(250, 0)
  59. layout_mode = 2
  60. placeholder_text = "请输入ui名称"
  61.  
  62. [node name="Button" type="Button" parent="ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer3"]
  63. layout_mode = 2
  64. text = "创建
  65. "
  66.  
  67. [node name="HBoxContainer4" type="HBoxContainer" parent="ScrollContainer/MarginContainer/VBoxContainer"]
  68. layout_mode = 2
  69. theme_override_constants/separation = 5
  70.  
  71. [node name="Label" type="Label" parent="ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer4"]
  72. layout_mode = 2
  73. text = "重新生成当前UI的代码"
  74.  
  75. [node name="Button" type="Button" parent="ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer4"]
  76. layout_mode = 2
  77. text = "运行"
  78.  
  79. [node name="HBoxContainer5" type="HBoxContainer" parent="ScrollContainer/MarginContainer/VBoxContainer"]
  80. layout_mode = 2
  81. theme_override_constants/separation = 5
  82.  
  83. [node name="Label" type="Label" parent="ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer5"]
  84. layout_mode = 2
  85. text = "重新生成UiManagerMethods.cs代码"
  86.  
  87. [node name="Button" type="Button" parent="ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer5"]
  88. layout_mode = 2
  89. text = "运行"
  90.  
  91. [node name="HBoxContainer7" type="HBoxContainer" parent="ScrollContainer/MarginContainer/VBoxContainer"]
  92. layout_mode = 2
  93. theme_override_constants/separation = 5
  94.  
  95. [node name="Label" type="Label" parent="ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer7"]
  96. layout_mode = 2
  97. text = "导出Excel表"
  98.  
  99. [node name="Button" type="Button" parent="ScrollContainer/MarginContainer/VBoxContainer/HBoxContainer7"]
  100. layout_mode = 2
  101. text = "运行"
  102.  
  103. [node name="Confirm" type="ConfirmationDialog" parent="."]
  104. initial_position = 1
  105. size = Vector2i(350, 200)
  106. unresizable = true
  107.  
  108. [node name="Tips" type="AcceptDialog" parent="."]
  109. initial_position = 1
  110. size = Vector2i(350, 200)
  111. unresizable = true