Publisher | Juste Tools |
---|---|
File size | 1.37MB |
Number of files | 59 |
Latest version | 1.1.0 |
Latest release date | 2024-01-02 03:41:42 |
First release date | 2023-10-19 03:48:14 |
Supported Unity versions | 2018.4.2 or higher |
[Website] [Documentation] [Discord]
⭐ Easy and Frictionless Creation ⭐
To make a class a singleton, simply decorate it with an attribute. This allows you to inherit from any MonoBehaviour or ScriptableObject-derived class without violating the Single Responsibility Principle, unlike other singleton pattern implementations.
You have the option to choose whether the attribute is inherited or not, enabling rapid iteration.
⭐ Clean and Efficient Workflow ⭐
Singleton assets are automatically generated in your project's Assets folder.
MonoBehaviours are added to a new prefab, and ScriptableObjects are created. You can define from scripts where to create them and how to name them, with the freedom to modify them later as needed.
If you delete a singleton script, the associated asset is also deleted automatically.
⭐ High-Performance and Convenient Runtime API ⭐
Singleton instances are automatically instantiated at runtime, and you can easily retrieve them using a static class.
You can also perform various operations, such as finding a singleton using a predicate.
⭐ Complete Polymorphism Support ⭐
At runtime, you can select a singleton instance from a parent class or interface it implements.
Unlike other singleton pattern implementations, Auto Singleton does not tightly couple your code, making it compatible with or even a replacement for a dependency injection system.
⭐ Seamless User Experience ⭐
Singleton assets are displayed in the project window with a unique icon.
You can change various options and enable/disable any singleton with just a few clicks.
The package includes full sources (25+ scripts).
⭐ Documentation and Help ⭐
The documentation is clear and comprehensive, and the demo showcases various use cases.
Contacting support via email guarantees a response within a day or less, and there is a public Discord community for additional assistance.
⭐ Regular Updates ⭐
This tool will receive updates to fix bugs and introduce new features.
You can check version changelogs here.
If you enjoy Auto Singleton, please consider leaving a review. Your feedback helps improve it!