Unity Learn home
View Tutorial Content

Challenge: Are You Alive?

Tutorial
Beginner
+10 XP
10 Mins
(171)
Overview
Summary
In this challenge, you will create a program that:
  • Checks whether the player's health is below 0
  • Gives the player random damage when the space button is pressed.
Select your Unity version
Last updated: April 18, 2021
2019.3
2019.2
2019.1
2018.4
2018.3
2018.2
2018.1
2017.4
2017.3
2017.2
2017.1
Language
English
Challenge: Are You Alive?