View Tutorial Content

Write your own spawn function

Tutorial
Beginner
+10 XP
30 Mins
(1688)
Overview
Live
Groups
Summary
In this tutorial, you’ll:
  • Write a function to spawn health potions in a more efficient way
  • Check your code in Unity Editor
  • Learn about scope, and how to access information in different scripts
When you’ve done this, you’ll be ready to think about organizing scripts at a higher level.
Select your Unity version
Last updated: April 14, 2021
2020.3
2020.2
2020.1
2019.4
2019.3
2019.2
Language
English
Write your own spawn function