Simple play icon Course
Skills Expanded

Unity GameObject Singletons: Best Practices

by Ava Pek

Learn how to use GameObject Singletons to solve problems that require receiving MonoBehaviour messages or calling certain Unity API functions, and how to make them in a way that is robust and easy to maintain.

What you'll learn

It's difficult in Unity to implement a Singleton that can receive MonoBehaviour messages or call certain Unity API functions. In this course, Unity GameObject Singletons: Best Practices, you will learn foundational knowledge of how to create GameObject Singletons to solve problems such as asynchronous downloading, coroutines that can continue after GameObject destruction, and more. First, you will learn what a GameObject Singleton is and when you should use one. Next, you will discover the basic code needed to implement one. Finally, you will explore how to make them robust and easy to maintain. When you are finished with this course, you will have the skills and knowledge of GameObject Singletons needed to create your own solutions to problems that require interfacing with Unity's update loop. Software required: Unity 3D

About the author

Ava is an independent game developer who has worked several years in consulting for various clients spanning many different industries. She has a passion for API design and teaching. Making music and caring too much about video game achievements are a few of her many hobbies. She has a bachelor degree in Computer Science from UT Austin and she currently resides in Austin, Texas.

Ready to upskill? Get started