Managed Singletons is a Singleton code suite designed to provide the necessary Singleton functionality and eliminate common problems DTT encountered while working with them. As a whole, this suite can save you dozens of hours worth of debugging and testing.
Features
- Various types of Singletons, such as Classic, Lazy (only created when called), Scene (always active in their given scene, never outside of it), and Editor.
- Without writing any code, create singletons with the use of the context menu options.
- A clear editor window that provides an overview of singletons you have created in the project and allows you to configure the way your singletons are created during the lifetime of your application.
- The flexibility of singleton creation by making them available before the first scene is loaded. This ensures your singletons are created independent of which scene you start in.
- Availability of singletons at any point during the application’s lifecycle.
- Tested and optimized for mobile platforms (iOS and Android) and web (WebGL).
Technical details
Quality
- All code is extensively and clearly commented
- Optimised for mobile development
- Runtime code is >95% unit tested
- Contains an extensive PDF with documentation, including code samples to help you on your way.
Compatibility
Tested and verified from Unity 2020.3 onwards on:
- iOS
- Android
- Windows
- MacOS
- Linux
- WebGL
Original_Link: https://assetstore.unity.com/packages/tools/utilities/managed-singletons-201775