Newer
Older
DungeonShooting / DungeonShooting_Godot / addons / dungeonShooting_plugin / Automation.tscn
@小李xl 小李xl on 19 Feb 2023 1 KB 自动整合RoomConfig配置
  1. [gd_scene load_steps=2 format=3 uid="uid://bygnukrvvm1vi"]
  2.  
  3. [ext_resource type="Script" path="res://addons/dungeonShooting_plugin/Automation.cs" id="1"]
  4.  
  5. [node name="Automation" 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. script = ExtResource("1")
  13.  
  14. [node name="ScrollContainer" type="ScrollContainer" parent="."]
  15. layout_mode = 0
  16. anchor_right = 1.0
  17. anchor_bottom = 1.0
  18.  
  19. [node name="VBoxContainer" type="VBoxContainer" parent="ScrollContainer"]
  20. layout_mode = 2
  21. size_flags_horizontal = 3
  22.  
  23. [node name="HBoxContainer" type="HBoxContainer" parent="ScrollContainer/VBoxContainer"]
  24. layout_mode = 2
  25.  
  26. [node name="Label" type="Label" parent="ScrollContainer/VBoxContainer/HBoxContainer"]
  27. layout_mode = 2
  28. text = "ResourcePath.cs"
  29.  
  30. [node name="Button" type="Button" parent="ScrollContainer/VBoxContainer/HBoxContainer"]
  31. layout_mode = 2
  32. text = "重新生成"
  33.  
  34. [node name="HBoxContainer2" type="HBoxContainer" parent="ScrollContainer/VBoxContainer"]
  35. layout_mode = 2
  36.  
  37. [node name="Label" type="Label" parent="ScrollContainer/VBoxContainer/HBoxContainer2"]
  38. layout_mode = 2
  39. text = "地牢房间配置"
  40.  
  41. [node name="Button" type="Button" parent="ScrollContainer/VBoxContainer/HBoxContainer2"]
  42. layout_mode = 2
  43. text = "重新打包"
  44.  
  45. [connection signal="pressed" from="ScrollContainer/VBoxContainer/HBoxContainer/Button" to="." method="_on_Button_pressed"]
  46. [connection signal="pressed" from="ScrollContainer/VBoxContainer/HBoxContainer2/Button" to="." method="_on_Button2_pressed"]