Book

Game Development Patterns with Unity 2021

Traditional building blocks of a robust architecture, such as design patterns, cannot be applied in Unity without being adapted to the engine's unique way of doing things. The book reviews design patterns that are currently used by professional game programmers in indie, mobile, and AAA studios, along with examining notorious anti-patterns.

Offered byPackt Logo

Difficulty Level

Intermediate

Completion Time

8h12m

Language

English

About Book

Who Is This Book For?

This book is for Unity game developers who want to learn industry standards for building Unity games. Knowledge of the Unity game engine and programming in the C# language is a must, so if you’re a beginner, try our Learning C# by Developing Games with Unity 2021 handbook instead.

Book content

chapters 8h12m total length

Before We Begin

The Game Design Document

A Short Primer to Programming in Unity

Implementing a Game Manager with the Singleton

Managing Character States with the State Pattern

Managing Game Events with the Event Bus

Implement a Replay System with the Command Pattern

Optimizing with the Object Pool Pattern

Decoupling Components with the Observer Pattern

Implementing Power-Ups with the Visitor Pattern

Implementing a Drone with the Strategy Pattern

Using the Decorator to Implement a Weapon System

Implementing a Level Editor with Spatial Partition

Adapting Systems with an Adapter

Concealing Complexity with a Facade Pattern

Managing Dependencies with the Service Locator Pattern

Related Resources

Access Ready-to-Use Books for Free!

Get instant access to a library of pre-built books—free trial, no credit card required. Start training your team in minutes!

No credit card required