Set up a basic health system

Tutorial

·

Beginner

·

+10XP

·

20 mins

·

(1055)

Unity Technologies

Set up a basic health system

1. Overview

2. Add new variables to store health

3. Write a new function to change health

4. Check the maxHealth variable in the Inspector

5. Expose a variable to control player character speed

6. Check your script

7. Next steps

Complete this tutorial