COVID-19 Support:
We’re providing all users three months of complimentary access to Unity Learn Premium, from March 19 to June 20, 2020.
Just log in to start learning.

Lesson 2.4 - Collision Decisions

Tutorial
Beginner
50 Mins
Overview
For Educators
Summary
Overview:
Our game is coming along nicely, but there are are some critical things we must add before it’s finished. First off, instead of pressing S to spawn the animals, we will spawn them on a timer so that they appear every few seconds. Next we will add colliders to all of our prefabs and make it so launching a projectile into an animal will destroy it. Finally, we will display a “Game Over” message if any animals make it past the player.
Project Outcome:
The animals will spawn on a timed interval and walk down the screen, triggering a “Game Over” message if they make it past the player. If the player hits them with a projectile to feed them, they will be destroyed.
Recommended Unity versions
2018.4 and Above
Topics we'll cover
Language
English
Lesson 2.4 - Collision Decisions