View Tutorial Content

Write your own spawn function

Tutorial
Beginner
+10 XP
30 Mins
Overview
Live
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: May 30, 2020
2019.2
Language
English
Write your own spawn function