CodeX
Published in

CodeX

Unity and C# Basics — Variables

Variables or Types allow us to store values that are used and potentially changed during the course of our program. They are essentially our building blocks or information containers.

In C# there are two main Types:

  • Value Types
  • Reference Types

Value Types are variables that are stored in a pre-defined location in memory —…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Claudio Grassi

Claudio Grassi

Experienced digital artist, Unity game developer & coder with a knack for problem solving and a passion for video games.