COVID-19 Support:
We’re providing all users three months of complimentary access to Unity Learn Premium.
Just log in to start learning.

Introduction to variables

Tutorial
Beginner
10 Mins
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.
Recommended Unity versions
2019.2
Industry
Language
English
Tutorial
Introduction to variables
10
Introduction to variables