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 ...
7. Characters, Coroutines, and Spawn Points
Get Developing 2D Games with Unity: Independent Game Programming with C# 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.