Book

Learning C# by Developing Games with Unity 2021

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.

Offered byPackt Logo

Difficulty Level

Intermediate

Completion Time

14h16m

Language

English

About Book

Who Is This Book For?

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.

Book content

chapters 14h16m total length

Getting to Know Your Environment

The Building Blocks of Programming

Diving into Variables, Types, and Methods

Control Flow and Collection Types

Working with Classes, Structs, and OOP

Getting Your Hands Dirty with Unity

Movement, Camera Controls, and Collisions

Scripting Game Mechanics

Basic AI and Enemy Behavior

Revisiting Types, Methods, and Classes

Introducing Stacks, Queues, and HashSets

Saving, Loading, and Serializing Data

Exploring Generics, Delegates, and Beyond

The Journey Continues

Related Resources

Access Ready-to-Use Books for Free!

Get instant access to a library of pre-built books—free trial, no credit card required. Start training your team in minutes!

No credit card required