Advertisement

Game Programming with Unity and C#

A Complete Beginner’s Guide

  • Casey Hardman
Book
  • 5k Downloads

Table of contents

  1. Front Matter
    Pages i-xx
  2. Casey Hardman
    Pages 1-9
  3. Casey Hardman
    Pages 11-20
  4. Casey Hardman
    Pages 21-27
  5. Casey Hardman
    Pages 29-39
  6. Casey Hardman
    Pages 41-51
  7. Casey Hardman
    Pages 53-59
  8. Casey Hardman
    Pages 61-75
  9. Casey Hardman
    Pages 77-86
  10. Casey Hardman
    Pages 87-102
  11. Casey Hardman
    Pages 103-112
  12. Casey Hardman
    Pages 113-128
  13. Casey Hardman
    Pages 129-137
  14. Obstacle Course

    1. Front Matter
      Pages 139-139
    2. Casey Hardman
      Pages 141-148
    3. Casey Hardman
      Pages 149-171
    4. Casey Hardman
      Pages 173-180
    5. Casey Hardman
      Pages 181-197
    6. Casey Hardman
      Pages 199-207
    7. Casey Hardman
      Pages 209-231
    8. Casey Hardman
      Pages 233-248
    9. Casey Hardman
      Pages 249-257
    10. Casey Hardman
      Pages 259-265
    11. Casey Hardman
      Pages 267-277
    12. Casey Hardman
      Pages 279-284
    13. Casey Hardman
      Pages 285-297
    14. Casey Hardman
      Pages 299-306
  15. Tower Defense

    1. Front Matter
      Pages 307-307
    2. Casey Hardman
      Pages 309-313
    3. Casey Hardman
      Pages 315-326
    4. Casey Hardman
      Pages 327-359
    5. Casey Hardman
      Pages 361-396
    6. Casey Hardman
      Pages 397-424
    7. Casey Hardman
      Pages 425-438
    8. Casey Hardman
      Pages 439-445
  16. Physics Playground

    1. Front Matter
      Pages 447-447
    2. Casey Hardman
      Pages 449-452
    3. Casey Hardman
      Pages 453-475
    4. Casey Hardman
      Pages 477-496
    5. Casey Hardman
      Pages 497-505
    6. Casey Hardman
      Pages 507-518
    7. Casey Hardman
      Pages 519-532
    8. Casey Hardman
      Pages 533-544
    9. Casey Hardman
      Pages 545-552
    10. Casey Hardman
      Pages 553-564
  17. Back Matter
    Pages 565-577

About this book

Introduction

​Designed for beginners with no knowledge or experience in game development or programming, this book teaches the essentials of  the Unity game engine,the C# programming language, and the art of object-oriented programming. New concepts are not only explained, but thoroughly demonstrated.

Starting with an introduction to Unity, you'll learn about scenes, GameObjects, prefabs, components, and how to use the various windows to interact with the engine. You'll then dive into the fundamentals of programming by reviewing syntax rules, formatting, methods, variables, objects and types, classes, and inheritance, all while getting your hands dirty writing and testing code yourself. Later, the book explains how to expose script data in the Inspector and the basics of Unity’s serialization system. 

This carefully crafted work guides you through the planning and development of bare bones, simple game projects designed to exercise programming concepts while keeping less relevant interruptions out of the way, allowing you to focus on the implementation of game mechanics first and foremost. Through these example projects, the book teaches input handling, rigidbodies, colliders, cameras, prefab instantiation, scene loading, user interface design and coding, and more.

By the end, you'll have built a solid foundation in programming that will pave your way forward in understanding core C# syntax and fundamentals of object-oriented programming—not just what to type but why it's typed and what it’s really doing. Game Programming with Unity and C# will send you on your way to becoming comfortable with the Unity game engine and its documentation and  how to independently seek further information on yet-untouched concepts and challenges.

You will:
  • Understand the fundamentals of object-oriented computer programming, including topics specifically relevant for games.
  • Leverage beginner-to-intermediate-level skills of the C# programming language and its syntax.
  • Review all major component types of the Unity game engine: colliders and rigidbodies, lights, cameras, scripts, etc.
  • Use essential knowledge of the Unity game engine and its features to balance gameplay mechanics for making interesting experiences. 

Keywords

Game development Programming C# Unity 3D Game design

Authors and affiliations

  • Casey Hardman
    • 1
  1. 1.West Palm BeachUSA

Bibliographic information

Industry Sectors
Electronics
Telecommunications
Aerospace