Let’s Make Some Prefabs

Previously, in Chapter 1, Press Start, we looked at what games are made of and how to set up Unity. In Chapter 2Working with Assets, we started to import assets and get them ready for Unity. Now, in Chapter 3, Let's Make Some Prefabs, we're going to do something cool: we're going to create our first game.

We will cover the following topics:

  • What are Prefabs and how do we create and use them?
  • Basics of C# in Unity
  • What is a PlayerController?
  • How to create a collection system
  • Basic overview of Audio in Unity
  • Create a PlayerController for our game
  • Create Prefabs for player, wall, and collectables
  • Adding basic audio and sound effects (sound FX or SFX)

By the end of this chapter you will be able to achieve the following:

  • Create a basic Prefab
  • Script and implement basic C# scripts
  • Create a PlayerController for the Angel character
  • Create collectable Angel Cakes for the PlayerController to pick up
  • Import audio and apply it to various aspects of the game environment

Now with that said, let's make our first game.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset