A Venerable Variety of Variables — Understanding Variables in Unity

The boolean is named “Doeshavekey”, and is defaulted to false.
The integer variable is named “currentmoney”.
Float’s are very similar to Integers, but they can track decimals.
My public speed variable can be changed from the Unity Inspector.

--

--

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
Jack Leavey

Jack Leavey

I am a software engineer with years of experience branching into game development, specifically in Unity. Follow along for guides on creating game mechanics!