Understand the fundamentals of C# programming and get started with coding from ground up in an engaging and practical manner
Key Features:
- Build 3D games step-by-step while learning essential C# programming concepts and real-world coding skills
- Create interactive mechanics, animations, and AI behaviors using Unity's tools and scripting features
- Develop a strong programming foundation by understanding how code structures power gameplay and game logic
Book Description:
Learning to program in today's technical landscape can be a daunting task, especially when faced with the sheer number of languages you have to choose from. Luckily, Learning C# with Unity 2019 removes the guesswork and starts you off on the path to becoming a confident, and competent, programmer using game development with Unity.
You'll start off small by learning the building blocks of programming, from variables, methods, and conditional statements to classes and object-oriented systems. After you have the basics under your belt you'll explore the Unity interface, creating C# scripts, and translating your newfound knowledge into simple game mechanics.
Throughout this journey, you'll get hands-on experience with programming best practices and macro-level topics such as manager classes and flexible application architecture. By the end of the book, you'll be familiar with intermediate C# topics like generics, delegates, and events, setting you up to take on projects of your own.
What You Will Learn:
- Understand programming fundamentals with practice examples in C#
- Explore the interface and features of Unity 2019
- Learn C# programming syntax from scratch
- Create a game design document and prototype level
- Explore intermediate programming topics and best practices
- Implement game mechanics, interactions, and UI elements with C#
Who this book is for:
This book is ideal for aspiring game developers, students, and hobbyists with little or no coding background who want to learn C# fundamentals and start building their own interactive 3D games in Unity. No prior programming or Unity experience is needed, making it perfect for complete beginners or those seeking a structured introduction to both C# and Unity's core tools.
Table of Contents
- 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
- Exploring Generics, Delegates, and Beyond
- The Journey continues