Chapter 2

Building the Core Game Framework

In this chapter, we look at the structure of the base project, to which we will be adding all of the game script components, and the thinking behind it. This chapter will give context to the design decisions made in the core framework as well as provide a good base for understanding how the individual code recipes work together and why they may sometimes have dependencies on other components.

The framework for this book (as seen in Figure 2.1) features six main areas:

Figure 2.1

Diagram of the game framework.

Diagram of the game framework.

  1. Game Controller

    The game controller acts like a central communication script for all of ...

Get C# Game Programming Cookbook for Unity 3D now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.