23 lines
491 B
C#
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;
|
|
}
|
|
}
|
|
}
|
|
}
|