/// <summary> /// End the current TestPass, and write it to file. /// </summary> /// <param name="test">Leave as null</param> void EndTestPass(Test test = null) { logger.WriteTestPassToFile(testPass, startTime, "TestPass"); state = RunState.Finished; currentTest.gameObject.SetActive(false); selectionHandler.DestroySelector(); DisableTooltips(); UpdateInfoText(); }