public static void Main(string[] args) { Console.WriteLine("pwd " + AppDomain.CurrentDomain.BaseDirectory); if (args == null || args.Length == 0) { args = new[] { "../Config/ECSGenerator/Config.json" }; } if (args.Length > 0) { foreach (var path in args) { Console.WriteLine(path); CodeGenForEntitas.GenCode(Path.Combine(AppDomain.CurrentDomain.BaseDirectory + path)); } } else { Console.WriteLine("Need config path"); } }
public static void Main(string[] args) { CodeGenForEntitas.GenCode(); }