Chapter 4

Basics: The Building Blocks of Code

After covering the small parts that make up code, it’s time to start learning how all of the parts come together to create a behavior. Creating data is easy; keeping the data organized is harder. Adding logic to do something with the data is harder still. That said, it’s not impossible; otherwise, no one would write code.

This chapter covers how a statement of code works and where the power that drives the code originates. Programming is much less enigmatic when you understand the mechanisms that drive it. To understand why code behaves the way it does, it’s important to know your way around the language.

4.1 What Will Be Covered in This Chapter

This chapter is about getting past the details ...

Get Learning C# Programming with Unity 3D now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.