Newer
Older
DungeonShooting / DungeonShooting_Godot / addons / dungeonShooting_plugin / Tools.cs
@小李xl 小李xl on 16 Mar 2023 364 bytes 更改 Automation 面板位置
#if TOOLS
using Generator;
using Godot;

[Tool]
public partial class Tools : Control
{
	/// <summary>
	/// 更新 ResourcePath
	/// </summary>
	private void _on_Button_pressed()
	{
		ResourcePathGenerator.Generate();
	}

	/// <summary>
	/// 重新打包房间配置
	/// </summary>
	private void _on_Button2_pressed()
	{
		RoomPackGenerator.Generate();
	}
}
#endif