Esempio n. 1
0
 public static string GenerateGameProject(string dir, string name)
 {
     try
     {
         return(ProjectGenerator.GenGameProject(dir, name, compileItems: new string[] { }));
     }
     catch (Exception e)
     {
         GD.PushError(e.ToString());
         return(string.Empty);
     }
 }
Esempio n. 2
0
 public static string GenerateGameProject(string dir, string name, IEnumerable <string> files = null)
 {
     try
     {
         return(ProjectGenerator.GenGameProject(dir, name, files));
     }
     catch (Exception e)
     {
         GD.PushError(e.ToString());
         return(string.Empty);
     }
 }