So if I shoot this, notice at the bottom I got an error message.
[MUSIC]
Let me exit out and click on this.
It says level couldn't be loaded because it has not been
added to the build settings.
And notice the sort of double quote there.
I think those are two single quotes saying that the level name is nothing.
So let's go back to the game manager and
notice that we never defined the play again level to load.
So let's go ahead and do that.
Level One because that's the name of our level and hit Play Again.
[MUSIC]
[SOUND] And once my timer runs out,
lets go ahead and shoot Play Again.
And it starts the game over.
Just go ahead and stop.
So our Play Again button functions the way that we want it to function.
Now we just need to set it up a little bit more.
So let's go ahead and rename this from New Text to Play Again.
And then let's make this into a pre-fab, because we're gonna
actually have multiple of these buttons on the screen when the game is over.
So let's make that into a pre-fab.
We'll keep the one that's out there, there.
And let me switch to a top-down view.
Basically, what I wanna do is have four of these kind of in each four
quadrants of my world.
So I'm gonna go ahead and duplicate this Play Again, and it creates a second wand.
And I wanna reposition this to the other side of the world.
So I'll leave it at 0, 3.
But rather than 14, let me make it at negative 14, so it's on the other side.
But of course, it's gonna be facing backwards.
You can see that if I spin around here.
So it'll be facing backwards to the player.
So I need to rotate it.
So let me rotate it 180 degrees.