LevelController.resetLevel C# (CSharp) Method

resetLevel() public method

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