A Game Developer’s Guide to Numbers in C#
From the remaining lives a player has to the health potions in their inventory, every video game deals with numbers at some point or another, so knowing how to work with them in C# is crucial to making a successful game in the Unity Game Engine.
A Game Developer’s Guide to Constants in C#
A constant in C#, the half-brother of a variable, is like a mini storage location for temporary data you’ll reuse when building a video game in the Unity Game Engine. As the name suggests, a constant is a value that stays the same after it is created.
A Game Developer’s Guide to Variables in C#
A variable in C# can be thought of as a mini storage location for temporary data you plan on reusing while building a video game in the Unity Game Engine. Variables are fundamental to any video game and make up a large percentage of the code you’ll write, whether by hand or using visual scripting tools.