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.
Key FeaturesDevelop a strong foundation of programming concepts and the C# languageBecome confident with Unity fundamentals and features in line with Unity 2023Build a playable game prototype in Unity-a working first-person shooter game prototypeBook Description
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.
What you will learnUnderstanding programming fundamentals by breaking them down into their basic partsComprehensive explanations with sample codes of object-oriented programming and how it applies to C#Follow simple steps and examples to create and implement C# scripts in UnityDivide your code into pluggable building blocks using interfaces, abstract classes, and class extensionsGrasp the basics of a game design document and then move on to blocking out your level geometry, adding lighting and a simple object animationCreate basic game mechanics such as player controllers and shooting projectiles using C#Become familiar with stacks, queues, exceptions, error handling, and other core C# conceptsLearn how to handle text, XML, and JSON data to save and load your game dataWho this book is 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.
Table of ContentsGetting to Know Your EnvironmentThe Building Blocks of ProgrammingDiving into Variables, Types, and MethodsControl Flow and Collection TypesWorking with Classes, Structs, and OOPGetting Your Hands Dirty with UnityMovement, Camera Controls, and CollisionsScripting Game MechanicsBasic AI and Enemy BehaviorRevisiting Types, Methods, and ClassesSpecialized Collection Types and LINQSaving, Loading, and Serializing DataExploring Generics, Delegates, and BeyondThe Journey Continues
Publisher : Packt Publishing; 7th ed. edition (November 29, 2022)
Language : English
Paperback : 466 pages
ISBN-10 : 1837636877
ISBN-13 : 978-1837636877
Item Weight : 1.74 pounds
Dimensions : 9.25 x 7.52 x 0.95 inches