Scratching the surface of C# programming

We learned many ways to work with data. The code inside a method is where all the work is performed on the data, such as using the data to make decisions or modifying the data value. Even when Dot Syntax extracted data from another objects, all the work was performed in a method.

The C# code we used was rather basic, but we accomplished everything needed to create our game. Once again, that was the purpose of this book, to teach you the fundamental concepts of programming and use basic C# coding techniques to get the job done.

There are more C# techniques we could have used to make our code more efficient, and you may want to learn more about C#. But if you just want to understand enough C# to get some scripts ...

Get Learning C# by Developing Games with Unity 3D Beginner's Guide 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.