示例#1
0
        public static void Main(string[] args)
        {
            DisquuunTests.Start();

            // Automatineのテスト走らせつついろいろやろう。
            // AutomatineTests.Start();
        }
示例#2
0
 private void DetectPlayStart()
 {
     if (!EditorApplication.isPlaying && EditorApplication.isPlayingOrWillChangePlaymode)
     {
         EditorApplication.playmodeStateChanged -= DetectPlayStart;
         initializer.Teardown();
         DisquuunTests.Stop();
     }
 }
示例#3
0
        static void Main(string[] args)
        {
#if LOGIC_BENCH
            Console.WriteLine("this is benchmark build.");
            BenchmarkRunner.Run <DisquuunBench>();
            return;
#endif
            DisquuunTests.Start();
        }
示例#4
0
    private void DetectCompileStart()
    {
        if (EditorApplication.isCompiling)
        {
            EditorApplication.update -= DetectCompileStart;

            initializer.Teardown();
            DisquuunTests.Stop();
        }
    }
示例#5
0
    public ServerInitializer()
    {
        XrossPeer.SetupLog(Path.Combine(Directory.GetParent(Application.dataPath).ToString(), "server.log"));

        // Setup();
        DisquuunTests.Start();

        EditorApplication.playmodeStateChanged += DetectPlayStart;
        EditorApplication.update += DetectCompileStart;
    }