XDracam / unity-corelibrary

Collection of classes and extension methods that make life with Unity3D more comfortable
MIT License
15 stars 3 forks source link

Testable Singletons #11

Open XDracam opened 5 years ago

XDracam commented 5 years ago

Using a Singleton or LazySingleton introduces a hard dependency to the used singleton.

The goal of this issue is to ensure that one can use a subclass of the Singleton in the scene for testing purposes, in order to mock singleton behaviour.