Have a personal or library account? Click to login
Learning C# by Developing Games with Unity 2019 Cover

Learning C# by Developing Games with Unity 2019

Code in C# and build 3D games with Unity

Paid access
|Jun 2024
Product purchase options

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

  1. Getting to Know your Environment
  2. The Building Blocks of Programming
  3. Diving into Variables, Types and Methods
  4. Control Flow and Collection Types
  5. Working with Classes, Structs and OOP
  6. Getting Your Hands Dirty with Unity
  7. Movement, Camera Controls, and Collisions
  8. Scripting Game Mechanics
  9. Basic AI and Enemy Behavior
  10. Revisiting Types, Methods and Classes
  11. Exploring Generics, Delegates, and Beyond
  12. The Journey continues
https://github.com/packtpublishing/learning-c-by-developing-games-with-unity-2019
PDF ISBN: 978-1-78953-694-2
Publisher: Packt Publishing Limited
Copyright owner: © 2019 Packt Publishing Limited
Publication date: 2024
Language: English
Pages: 342