Contents
1.Making Games in a Modular Way
1.1Important Programming Concepts
1.1.1Manager and Controller Scripts Manager and Controller Scripts
1.1.2.1Using the Singleton in Unity
1.1.6Finite State Machines (FSM)
2.Making a 2D Infinite Runner Game
2.2Open Unity, Then the Example Project for This Chapter
Get C# Game Programming Cookbook for Unity 3D, 2nd Edition 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.