Auto Singleton is a Unity package that simplifies the process of creating singletons. To use it, simply decorate a class with an attribute, and the tool will automatically generate the singleton asset in your project's Assets folder. You can choose whether the attribute is inherited or not, and define from scripts where to create the asset and how to name it. The tool also manages everything at runtime, requiring no manual actions on your part. You can access singleton instances at any point using an optimized static member, and perform various operations such as finding a singleton using a predicate or dynamically adding and removing singletons during play mode. The package includes full sources with complete comments/xml summaries on every public members, and comes with a clear and comprehensive documentation and demo showcasing various use cases.
Compatible with all operating systems and target platforms. Tested on Unity version 2021.3 and later.




