One method instead of two

In this lesson, Ben uses two methods to change levels (StartSuccessSequence and
StartDeathSequence). I think, in this case, you can use only one method to do this stuff.

ChangeLevel method

It can make your code looks clearer.

However, it doesn’t mean that you should use one method for these situations in the future. Most of the time death and finishing level contain a lot of different logic.

1 Like

Privacy & Terms