Projects
Courses
Tutorials
Topics
Editor Essentials
Scripting
Graphics & Visual Effects
2D
Mobile & Touch
XR
Physics
User Interface
For Educators
AI & Navigation
More
TOPICS
Browse All Topics
TUTORIAL
PROJECT
COURSE
QUIZ
Unity ID
A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store, and participate in the Unity community.
Create a Unity ID
Sign in
Try Learn Premium
Premium
Variables
Tutorial
Beginner
10 Mins
12
Jonathan Weinberger
Overview
Details
0
Your progress
Sign in to track your progress
Where am I?
Also included in
Project
C# Survival Guide - Variables
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
Recommended Unity versions
2017.1 and Above
Topics we'll cover
Scripting
Editor Essentials
Language
English
Track your progress and get personalized recommendations.
Sign in with your Unity ID
Tutorial
Variables
0
Start Tutorial
Unity Learn Premium, Unity Plus & Unity Pro Subscribers
Log in to start
You want to become an expert
and we want to help.
Try Learn Premium
Learn more
Variables