O'Reilly logo

Unity 5.x Game Development Blueprints by John P. Doran

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding a simple animated character

Now that we have our background in the world, let's add in our player sprite:

  1. From the Art Assets folder included in the example code for the chapter, bring the three sprites for the plane into the Project tab's Assets/Sprites folder.
  2. Then, from the Assets folder, create a new folder named Animations.
  3. From there, select all three images (hold Ctrl and then select each of them) and then drag and drop them into the Scene tab to bring them into the level. You'll see a new window pop up that says Create New Animation. From there, browse to the Animations folder we just created and then open it. Afterwards, change the File name: property to PlaneFlying and then press Save. This will create an animation and controller ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required