private void reportFitnessAndReset() { double lastFitness = cumulativeFitness; cumulativeFitness = 0; currentScenario = 0; Destroy(testSubject.gameObject); evolutionator.reportFitness(this, lastFitness, index); }