Hello, guys.
We're done with the section of the player.
I just want to do quick.
Tidy up to make it a bit prettier before we jump to next section.
At the moment we have our code and it's predefined, and in the inspector it looks fine as well, but
I just want to change it by a tiny bit because it bothers me.
All right, so what are we going to do is we're going to take this move speed and move it over here.
And remember, you can do that by holding alt key and press an arrow up.
And then it's going to be not speed info, but just move info.
Then this one can be changed to jump info.
So we have two different headers.
I want to take this player unlocked from jumping four and just move it above.
Over here where we have player is that player is unlocked.
Then this knockback info, I guess it can stay the same.
I'm not sure if I want to change it.
Maybe if you feel like you can change it, it's no problem at all.
Um, let's.
Let's put it here.
It's all fine now.
We have default speed while you.
Buy now.
Keep it here.
It's kind of belongs to the speed and this kind of belongs to the milestones.
I feel like milestone increase is not clear enough as a name, but I didn't come up with anything better
yet.
So let's keep it like that.
What else I want to do here is go below.
We can close this knock back region speed control region ledge clamp region.
Let's see what else we can do here.
Check for slide and movement should be okay.
Maybe we can rename it to check for slide cancel.
So let's press control r check for slide cancel.
So the point of this renaming is it's supposed to be understandable for person who never saw this code.
All right?
And believe me, if you jump to your code after a couple of weeks, it might feel like you don't know
who did this.
And what the hell is this?
So it should be as clear as possible.
So check for slide.
Cancel.
Okay.
Movement is okay.
Maybe you can do, like, set up movement.
Yeah, Let's do set up movement.
Let's go below slide button.
It's okay.
We're going to call slide button later.
We need it to like that jump button.
Check input.
Also, we need it so maybe we can create a region for this region.
Inputs and here.
And region.
Let's cover this now.
Boom.
And we can create region for animator and animations.
And we have raw animation finished and region.
Like that.
Let's see.
This looks all pretty, right?
I don't know.
All right.
It's fine for now.
I guess we're not going to come back here much.
But still.
Now, let's close it.
And I want to do some other changes.
And this is how our inspector looks.
Now move in for speed.
Max speed, Speed multiplier.
Jump in for jump force.
Double jump.
It's okay.
Now we can delete this city background.
I guess we don't need it as a reference anymore.
We're going to have the job done, but if you need it, you keep it.
Or maybe just in case, you know, just in case I'll move it to graphics folder and I'll let it sit
there.
Now let's create another folder.
It's going to be named as scripts.
Let's take our script.
Drag it here, just like that.
We can delete the city from hierarchy.
Let's see what else we can take.
Cinema, machine camera, take main camera and create empty parent that we're going to call camera just
like that.
Cover it.
Now we have camera player level, generator and background.
All right.
That's good enough.
Let's save the project, and I'll make an archive of this project, and I'll attach it to this lecture.
So in case you have some trouble in the middle of the work of the project, you can download it and
use it as yours.
All right, close it and see you later.