© Jared Halpern 2019
Jared HalpernDeveloping 2D Games with Unity https://doi.org/10.1007/978-1-4842-3772-4_7

7. Characters, Coroutines, and Spawn Points

Jared Halpern1 
New York, NY, USA

This chapter will see us building some central components important to any video game. We’ll build a Game Manager responsible for coordinating and running the game logic, such as spawning the player when she dies. We’ll also build a Camera Manager to ensure the camera is always set up properly. We’ll be getting deeper into Unity and learning how to do things programmatically instead of relying on the Unity Editor. Doing things programmatically can make your game architecture more flexible and save you time in the long run. Throughout this chapter, you’ll also ...

Get Developing 2D Games with Unity : Independent Game Programming with C# now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.