public static void Main(string[] args) { DisquuunTests.Start(); // Automatineのテスト走らせつついろいろやろう。 // AutomatineTests.Start(); }
private void DetectPlayStart() { if (!EditorApplication.isPlaying && EditorApplication.isPlayingOrWillChangePlaymode) { EditorApplication.playmodeStateChanged -= DetectPlayStart; initializer.Teardown(); DisquuunTests.Stop(); } }
static void Main(string[] args) { #if LOGIC_BENCH Console.WriteLine("this is benchmark build."); BenchmarkRunner.Run <DisquuunBench>(); return; #endif DisquuunTests.Start(); }
private void DetectCompileStart() { if (EditorApplication.isCompiling) { EditorApplication.update -= DetectCompileStart; initializer.Teardown(); DisquuunTests.Stop(); } }
public ServerInitializer() { XrossPeer.SetupLog(Path.Combine(Directory.GetParent(Application.dataPath).ToString(), "server.log")); // Setup(); DisquuunTests.Start(); EditorApplication.playmodeStateChanged += DetectPlayStart; EditorApplication.update += DetectCompileStart; }