View Tutorial Content

Introduction to functions

Tutorial
Beginner
+10 XP
30 Mins
(2957)
Overview
Live
Groups
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: April 13, 2021
2020.3
2020.2
2020.1
2019.4
2019.3
2019.2
Language
English
Introduction to functions