Unity Learn home
View Tutorial Content

Write your own spawner class

Tutorial
Beginner
+10 XP
30 Mins
(35)
Overview
Summary
In this tutorial, you’ll:
  • Identify the purpose of your class
  • Write the class to make your code more efficient
  • Add and review a special function for your class
  • Initialize variables for your class
  • Check your script changes in the Console
When you’ve finished, you’ll have created your own potion spawning class for the Creator Kit: Beginner Code game.
Select your Unity version
Last updated: November 01, 2023
2022.3
2021.3
2020.3
2020.2
2020.1
2019.4
2019.3
2019.2
Language
English
Write your own spawner class