authority/engine/modules/mono/editor/GodotTools/GodotTools/CsProjOperations.cs
2025-01-17 16:36:38 +01:00

23 lines
491 B
C#

using Godot;
using System;
using GodotTools.ProjectEditor;
namespace GodotTools
{
public static class CsProjOperations
{
public static string GenerateGameProject(string dir, string name)
{
try
{
return ProjectGenerator.GenAndSaveGameProject(dir, name);
}
catch (Exception e)
{
GD.PushError(e.ToString());
return string.Empty;
}
}
}
}