O'Reilly logo

Building an RPG with Unity 5.x by Vahé Karamian

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

Testing

Starting from the Main Menu scene, make sure that you have the following GameObjects in the scene: uiController and _ GameMaster. The uiController game object should have UIController.cs attached and _GameMaster should have the following components attached: GameMaster.cs and an AudioSource component that will be used for the background music.

Have the _GameMaster GameObject selected in the Hierarchy Window; run the game. Select the Start Game button. This will load the character customization scene. The _GameMaster GameObject should still be selected, if not, go ahead and select it from the Hierarchy Window, do some of the character customization and click on the Save button.

The first level should have been loaded with your character ...

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