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

Level editor – introduction

To create something that can save files, we'll need to cover new territory. We've already discussed working with PlayerPrefs back in Chapter 5, Shooting Gallery – Working with Animations and Tweens, but there can be a time when you want to save things other than just string, int, or float variables. To deal with complex data types, there are more things that we can do. Perform the following steps:

  1. We are going to first open up our 3D Platformer project we created back in Chapter 6, Side-Scrolling Platformer. Open your gameplay scene (in the example code saved as Gameplay) from the link described in the project setup.
  2. As it currently stands, the ability to create our levels is inside our GameController script. For this ...

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