Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

Unity GameObject Singletons: Best Practices

via Pluralsight

Overview

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.

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

Taught by

Ava Pek

Reviews

3.9 rating at Pluralsight based on 38 ratings

Start your review of Unity GameObject Singletons: Best Practices

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.