View Tutorial Content

Introduction to functions

Tutorial
Beginner
+10 XP
30 Mins
Overview
Live
Summary
In this tutorial, you’ll:
  • Write code to create another health potion at game start
  • Learn about functions and their role in code
  • Identify the function that’s in the SpawnerSample script already
When you’ve finished, you’ll be ready to write your own function.
Select your Unity version
Last updated: November 23, 2019
2019.2
Language
English
Introduction to functions