This is the code repository for Learning C# by Developing Games with Unity 2020, published by Packt.
An enjoyable and intuitive approach to getting started with C# programming and Unity
Over the years, 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 that can be applied in a wide array of application areas. This book presents a clear path to learn C# programming from the ground up without complex jargon or obscure programming logic, all while building a simple game with Unity.
This book covers the following exciting features:
- Discover easy-to-follow steps and examples to learn C# programming fundamentals
- Get to grips with creating and implementing scripts in Unity
- Create basic game mechanics like player controllers and shooting projectiles using C#
- Understand the concepts of interfaces and abstract classes
- Leverage the power of the latest C# features to solve complex programming problems
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter02.
The code will look like the following:
if (test expression)
{
Statement upon condition is true
}
Following is what you need for this book: If you’re a developer, programmer, hobbyist, or anyone else who wants to get started with C# programming in a fun and engaging manner, this book is for you. Prior experience in programming or Unity is not required.
With the following software and hardware list you can run all code files present in the book (Chapter 1-13).
Chapter | Software required | OS required |
---|---|---|
1 to 13 | Unity 2020.1.0f1 | Windows and Mac OS X |
We also provide a PDF file that has color images of the screenshots/diagrams used in this book.
-
Page 289: var currentItem = lootStack.Pop() should be replaced with var currentItem = lootStack.Pop();
-
Page 289: var nextItem = lootStack.Peek() should be replaced with var nextItem = lootStack.Peek();
Harrison Ferrone was born in Chicago, IL, and was raised all over. Most days you can find him writing technical documentation at Microsoft, creating instructional content for LinkedIn Learning and Pluralsight, or tech editing for the Ray Wenderlich website. He holds various fancy looking pieces of paper from the University of Colorado at Boulder and Columbia College, Chicago. Despite being a proud alumnus, most of these are stored in a basement somewhere. After a few years as an iOS developer at small start-ups, and one Fortune 500 company, he fell into a teaching career and never looked back. Throughout all this, he's bought many books, acquired a few cats, worked abroad, and continually wondered why Neuromancer isn't on more course syllabi.
Click here if you have any feedback or suggestions.