public void resetLevel() { foreach (GameObject path in currentPath) { Destroy(path); } currentPath.Clear(); levelDone = false; currentLength = 0; sectionsSinceDynamic = 0; spawnInitialSections(); }