示例#1
0
        public static void Test()
        {
            var app = new ConfigGenApp();

            app.Awake();
            while (app.Running)
            {
                app.Update();
                app.LateUpdate();
            }
        }
示例#2
0
        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();
            }
        }