The Single Way To Feel About The SINGLETON PATTERN

Published: 14 March 2022
on channel: BMo
2,770
186

The Singleton is the most popular design pattern used in Unity (aside from probably the component pattern because... well the engine inherently runs off that), but its also the most hated pattern by veterans.

Whats good? Whats bad? What should you look out for when using it? And also... what is it?

I cover that here and show how you can make an instance of a singleton with an AudioManager example.

TLDR - Its quick and easy to implement, its abused by the inexperienced, and I'll still use them in every game jam I attend.

COMMENT down below your thoughts on the singleton pattern, I'd love to have a discussion on this.

✨Want to support the channel?
Buy me a coffee ☕: https://ko-fi.com/bmoli

➤SUBSCRIBE to learn more about other design patterns as I cover them next!

➤Join our discord, its the singleton greatest place to be:   / discord  

Thanks for watching!

#bmo #gamedev #programming


Watch video The Single Way To Feel About The SINGLETON PATTERN online, duration hours minute second in high quality that is uploaded to the channel BMo 14 March 2022. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 2,770 times and liked it 186 visitors.