private void IncrementSequence() { pipeGenerator = pipeGenerator.addNewPipe(); ballGenerator = ballGenerator.addNewBall(); PlaySequenceToRemember(); }
private void ResetSequence() { CancelInvoke(); CloseZones(); TurnOffPipes (); score = 0; scoreKeeper.text = score.ToString (); pipeGenerator = new PipeSequenceGenerator().addNewPipe(); ballGenerator = new BallSequenceGenerator().addNewBall(); PlaySequenceToRemember(); }