Unity Learn home
View Tutorial Content

Variables

Tutorial
Beginner
+10 XP
10 Mins
(270)
Overview
Summary
In this tutorial, you will learn about variables. You will explore:
  • What variables are and how they can be used
  • The difference between public and private variables
  • Basic data types such as int and string
  • How to debug to console
Select your Unity version
Last updated: April 18, 2021
2019.3
2019.2
2019.1
2018.4
2018.3
2018.2
2018.1
2017.4
2017.3
2017.2
2017.1
Language
English
Variables