February 2017
Beginner
478 pages
11h 5m
English
In this chapter, we have seen how to use Prefabs to quickly replicate and clone GameObjects. So, before you continue with the next chapter, let's get good at using Prefabs.
The following two exercises are needed to have the game completed at the end:
projectiles_sheet_01 in the Graphics/projectiles folder, there are nine different projectiles; however, we used only one, Pink_Sprinkle. Create the other eight Prefabs, with meaningful names. Don't forget to attach the projectile script to all of them. Do not worry too much about the values assigned inside the script, such as the damage, since we will see the balance of the game later on in the book. However, do not forget to assign the right Z value ...Read now
Unlock full access