Technical requirements

This is a hands-on chapter, so you will need to have a basic understanding of Unity and C#.

We will be using the following specific Unity engine and C# language concepts:

  • Singleton
  • Serializable

If you're unfamiliar with these concepts, please review them before starting this chapter.

The code files of this chapter can be found on GitHub:

Check out the following video to see the code in action:

Get Hands-On Game Development Patterns with Unity 2019 now with O’Reilly online learning.

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