public void OnCloseWindow() { window = null; if (UnityTest.TestRunner == this) { UnityTest.TestRunner = null; } DestroyImmediate(this); Debug.Log("EditorTestRunner.OnCloseWindow"); }
public void OnEnable() { #if UNITY_IPHONE if(window == null) window = this; Show(true); #endif if(UnityTest.TestRunner == null) UnityTest.TestRunner = this; }
public static void ShowTestResults() { #if UNITY_IPHONE if(window == null) window = new EditorTestRunner(); window.Show(true); #else EditorTestRunner window = (EditorTestRunner)EditorWindow.GetWindow(typeof(EditorTestRunner)); window.Show(); window.title = "UnityTest"; #endif }
public void OnEnable() { #if UNITY_IPHONE if (window == null) { window = this; } Show(true); #endif if (UnityTest.TestRunner == null) { UnityTest.TestRunner = this; } }
public static void ShowTestResults() { #if UNITY_IPHONE if (window == null) { window = new EditorTestRunner(); } window.Show(true); #else EditorTestRunner window = (EditorTestRunner)EditorWindow.GetWindow(typeof(EditorTestRunner)); window.Show(); window.title = "UnityTest"; #endif }
public void OnCloseWindow() { window = null; if(UnityTest.TestRunner == this) UnityTest.TestRunner = null; DestroyImmediate(this); Debug.Log("EditorTestRunner.OnCloseWindow"); }