#Countdown to GameEnd Scene

1 messages · Page 1 of 1 (latest)

autumn owl
#

I'm trying to make my first CSharp game on unity but I need help with making the scene change to a 'shop/game end scene once the countdown is finished.

I used this;
Timer tutorial: https://www.youtube.com/watch?v=POq1i8FyRyQ
to make my countdown but I wanted to implement something like this
https://www.youtube.com/watch?v=5XVvwPYuUCc&list=PLrw9uFU6NhfPCiMfDLsL-ccDMCMJ0bMJk&index=5 (which is in visual scripting)
where after the timer ends it takes you to a different scene. I have a screenshot of what the timer script looks like as of now but I'm not sure what to put in between the "if" and "else if" values.

#

sorry, updated screenshot

molten rampart
# autumn owl

Aside from your compile error - think about the logic here. You sure that makes sense where you put it?

spark jetty
#

What you have now is "if there is still time remaining in the timer, load the game end scene." Pretty sure you want the opposite of that.

#

And you don't need else if here