Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Learning C# by Developing Games with Unity
  • Toc
  • feedback
Learning C# by Developing Games with Unity

Learning C# by Developing Games with Unity

By : Harrison Ferrone
4.4 (47)
close
Learning C# by Developing Games with Unity

Learning C# by Developing Games with Unity

4.4 (47)
By: Harrison Ferrone

Overview of this book

It's the ability to write custom C# scripts for behaviors and game mechanics that really takes Unity the extra mile. That's where this book can help you as a new programmer! Harrison Ferrone, in this seventh edition of the bestselling series will take you through the building blocks of programming and the C# language from scratch while building a fun and playable game prototype in Unity. This book will teach you the fundamentals of OOPs, basic concepts of C#, and Unity engine with lots of code samples, exercises and tips to go beyond the book with your work. You will write C# scripts for simple game mechanics, perform procedural programming, and add complexity to your games by introducing intelligent enemies and damage-dealing projectiles. You will explore the fundamentals of Unity game development, including game design, lighting basics, player movement, camera controls, collisions, and more with every passing chapter. Note: The screenshots in the book display the Unity editor in full-screen mode for a comprehensive view. Users can easily reference color versions of images by downloading them from the GitHub repository or the graphics bundle linked in the book.
Table of Contents (18 chapters)
close
15
Pop Quiz Answers
16
Other Books You May Enjoy
17
Index

Getting to Know Your Environment

Pop culture likes to market computer programmers as outsiders, lone wolves, or geeky hackers; people who possess extraordinary mental gifts for algorithmic thought, little social IQ, and the odd anarchic bent. While this isn’t the case, there is something to the idea that learning to code fundamentally changes the way you look at the world.

The good news is that your naturally curious mind already wants to see these kinds of patterns in the world, and you may even come to enjoy this new way of thinking. From the moment your eyes snap open in the morning to the last glimpse of your ceiling fan before you go to sleep, you’re unconsciously using analytical skills that directly translate to programming—you’re just missing the right language and syntax to map those life skills into code.

You know your age, right? That’s a variable. When you cross the street, I presume you look down the road in both directions before stepping off the curb like the rest of us. That’s evaluating different conditions, better known as control flow in programming terminology. When you look at a can of soda, you instinctively identify that it has certain properties, like shape, weight, and contents. That’s a class object! You get the idea.

With all that real-world experience at your fingertips, you’re more than ready to cross over into the realm of programming. To kick off your journey, you’ll need to know how to set up your development environment, work with the applications involved, and know exactly where to go when you need help.

To those ends, we’re going to begin by delving into the following C# topics:

  • Getting started with Unity 2023
  • Using C# with Unity
  • Exploring the documentation

Let’s get started!

bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete