Unity Learn home
View Tutorial Content

Introduction to variables

Tutorial
Beginner
+10 XP
10 Mins
(134)
Overview
Summary
In this tutorial, you’ll:
  • Learn what a variable is and why it is useful
  • Identify a variable within a script
  • Identify the value assigned to a variable
  • Practice reading instructions in a script
When you’ve finished, you’ll be ready to create your own variable.
Select your Unity version
Last updated: October 31, 2023
2022.3
2021.3
2020.3
2020.2
2020.1
2019.4
2019.3
2019.2
Language
English
Introduction to variables