Learning C# by Developing Games with Unity 2020 by Harrison Ferrone

Learning C# by Developing Games with Unity 2020 by Harrison Ferrone

Author:Harrison Ferrone [Harrison Ferrone]
Language: eng
Format: epub
Tags: COM012040 - COMPUTERS / Programming / Games, COM051310 - COMPUTERS / Programming Languages / C#, COM070000 - COMPUTERS / User Interfaces
Publisher: Packt
Published: 2020-08-20T14:12:04+00:00


You've now successfully white-boxed your first game level! Don't get too caught up in it yet, though—we're just getting started. All good games have items that players can pick up or interact with. In the following challenge, it's your job to create a health item and make it a prefab.

Hero's trial – creating a health pickup

Putting everything we've learned so far in this chapter might take you a few minutes, but it's well worth the time. Create the pickup item as follows:

Create, position, and scale a Capsule GameObject and name it Health_Pickup.

Create and attach a new yellow-colored Material to the Health_Pickup object.

Drag the Health_Pickup object into the Prefab folder.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.