Newer
Older
DungeonShooting / DungeonShooting_Godot / addons / dungeonShooting_plugin / Tools.cs
@小李xl 小李xl on 16 Mar 2023 364 bytes 更改 Automation 面板位置
  1. #if TOOLS
  2. using Generator;
  3. using Godot;
  4.  
  5. [Tool]
  6. public partial class Tools : Control
  7. {
  8. /// <summary>
  9. /// 更新 ResourcePath
  10. /// </summary>
  11. private void _on_Button_pressed()
  12. {
  13. ResourcePathGenerator.Generate();
  14. }
  15.  
  16. /// <summary>
  17. /// 重新打包房间配置
  18. /// </summary>
  19. private void _on_Button2_pressed()
  20. {
  21. RoomPackGenerator.Generate();
  22. }
  23. }
  24. #endif