Notifications
Singleton Liberation - Inherit from your own MonoBehaviour
Showcase
124
0
Let's free your hands! Need MonoBehaviour becomes singleton? > Yep! Want a more considerate implementation? > If possible. Have to make it from scratch? > Better not. Costs your only chance to inherit in C#? > Definitely not! That's why I made this! Full source code and examples included, and for MonoBehaviour in C# only. Auto find existing instance, and warning if duplicates found. Auto create if none, and ask user if to create when edit mode, without making a ghost silently. Not required to derive from any specific class, since C# inheritance is so precious.
Wanzyee
7
Comments