Unity Learn home
View Tutorial Content

Write your own instruction

Tutorial
Beginner
+10 XP
15 Mins
(126)
Overview
Summary
In this tutorial, you’ll:
  • Practice reading instructions in a script
  • Write your own instruction, to declare and assign a new variable
  • Test and check your changes to the game
When you’ve finished, you’ll have changed the spawn distance of the potions in 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 instruction