Learning C# by Developing Games with Unity 2021

The Learning C# by Developing Games with Unity series has established itself as a popular choice for getting up to speed with C#, a powerful and versatile programming language with a wide array of applications in various domains. This bestselling franchise presents a clear path for learning C# programming from the ground up through the world of Unity game development.

This sixth edition has been updated to introduce modern C# features with Unity 2021. A new chapter has also been added that covers reading and writing binary data from files, which will help you become proficient in handling errors and asynchronous operations.

The book acquaints you with the core concepts of programming in C#, including variables, classes, and object-oriented programming. You will explore the fundamentals of Unity game development, including game design, lighting basics, player movement, camera controls, and collisions. You will write C# scripts for simple game mechanics, perform procedural programming, and add complexity to your games by introducing smart enemies and damage-causing projectiles.

By the end of the book, you will have developed the skills to become proficient in C# programming and built a playable game prototype with the Unity game engine.

Type
ebook
Category
publication date
2021-10-29
what you will learn

Follow simple steps and examples to create and implement C# scripts in Unity
Develop a 3D mindset to build games that come to life
Create basic game mechanics such as player controllers and shooting projectiles using C#
Divide your code into pluggable building blocks using interfaces, abstract classes, and class extensions
Become familiar with stacks, queues, exceptions, error handling, and other core C# concepts
Learn how to handle text, XML, and JSON data to save and load your game data
Explore the basics of AI for games and implement them to control enemy behavior

no of pages
428
duration
856
key features
Learn C# programming basics, terminology, and coding best practices * Become confident with Unity fundamentals and features in line with Unity 2021 * Apply your C# knowledge in practice and build a working first-person shooter game prototype in Unity
approach
This hands-on guide starts with C# programming concepts and applies them to building games in Unity. As you progress, the book combines explanation of C# programming with the construction of a simple 3D game built in Unity.
audience
If you're a developer, programmer, hobbyist, or anyone who wants to get started with Unity and C# programming in a fun and engaging manner, this book is for you. You’ll still be able to follow along if you don’t have programming experience, but knowing the basics will help you get the most out of this book.
meta description
Learn C# programming from scratch using Unity as a fun and accessible entry point with this updated edition of the bestselling series. Includes invitation to join the online Unity Game Development community to read the book alongside peers, Unity developers/C# programmers and Harrison Ferrone.

Purchase of the print or Kindle book includes a free eBook in the PDF format.
short description
This sixth edition of the popular C# guide helps you learn the building blocks of the C# language, right from variables to classes and exception handling. After getting to grips with the basics of C# programming, it takes you through the world of Unity game development and how you can apply C# knowledge using game development examples.
subtitle
Kickstart your C# programming and Unity journey by building 3D games from scratch
keywords
game programming; game development book; game programming book; Unity book; game programming c; game programming in c; AI games
Product ISBN
9781801813945