From the course: Advanced Unity 2D: Platformer Player Movement

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Testing out wall-to-wall jumping

Testing out wall-to-wall jumping - Unity Tutorial

From the course: Advanced Unity 2D: Platformer Player Movement

Start my 1-month free trial

Testing out wall-to-wall jumping

- So, before we move on, we're going to want to clean up the way that our scripts are executing and also test out a few more scenarios with the wall to make sure everything is working correctly. Let's go into our project settings and open up script execution order. In here, we're going to want to add the two scripts that we're using to slide down and jump off of the wall. We'll use the plus sign and select the wall jump and we'll also select the wall slide. Now, let's drag wall slide below duck and wall jump above this. Here we want to give priority to wall jumping since it's going to need to be able to disable the wall jump, the walk, and the long jump. And the wall slide will also disable the jump as well. We'll hit apply to save our changes and now, let's go back into the editor. At this point, we have only one wall. What we're going to do is copy this and paste it so that we have a second wall and we'll move this wall over a little bit further down this scene. Let's also move it…

Contents