My Learning
Pathways
Browse
Live
Educator Hub
Search
Set up a basic health system
Tutorial
·
Beginner
·
+10XP
·
20 mins
·
4
(1055)
Unity Technologies
Summary
1. Overview
Q&A (0)
Mark step as complete
2. Add new variables to store health
Q&A (0)
Mark step as complete
3. Write a new function to change health
Q&A (0)
Mark step as complete
4. Check the maxHealth variable in the Inspector
Q&A (0)
Mark step as complete
5. Expose a variable to control player character speed
Q&A (0)
Mark step as complete
6. Check your script
Q&A (0)
Mark step as complete
7. Next steps
Q&A (0)
Mark step as complete
Complete this tutorial
Mark all steps complete