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

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
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

Syllabus

  • Course Overview 1min
  • What Is a GameObject Singleton? 7mins
  • Making a Persistent GameObject Singleton 9mins
  • Making GameObject Singletons Robust and Flexible 8mins

Taught by

Ava Pek

Reviews

3.9 rating at Pluralsight based on 39 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.