public static void Test() { var app = new ConfigGenApp(); app.Awake(); while (app.Running) { app.Update(); app.LateUpdate(); } }
public static void Main(string[] args) { if (args.Length != 1) { Console.WriteLine("Usage: config <isThread>"); return; } bool isThread = Convert.ToBoolean(args[0]); ConfigGenApp app = new ConfigGenApp(isThread); app.Awake(); while (app.Running) { app.Update(); app.LateUpdate(); } }