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.
Course info
Level
Intermediate
Updated
Nov 2, 2018
Duration
27m
Table of contents
Description
Course info
Level
Intermediate
Updated
Nov 2, 2018
Duration
27m
Description

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
About the author

Ava is an independent game developer who has worked several years in consulting for various clients spanning many different industries.