The simplest singleton tool on the Asset Store. Add the [Singleton] attribute to any class and the asset handles everything: automatic asset generation, cleanup, and polymorphic access at runtime.[Website] [Documentation] [Public API]The simplest singleton tool on the Asset Store. Add the [Singleton] attribute to any class and the asset handles everything: automatic asset generation, cleanup, and polymorphic access at runtime.FeaturesAttribute-based setup: decorate any MonoBehaviour or ScriptableObject with [Singleton]: no base classes, no boilerplate; optional inherited, displayName, and folderPath arguments for fine-grained controlAutomatic asset management: the editor creates and maintains prefabs (MonoBehaviour) or ScriptableObject assets after each compilation; deleting a singleton class also deletes its assetPolymorphic access: retrieve all singletons assignable to a type via Singleton.Instances; T can be a base class or an interfaceInstance selection: designate which instance Singleton.Instance returns using SelectInstance: by predicate, priority function, runtime type, direct reference, or no-arg when only one is registeredSafe access helpers: HasInstance and TryGetInstance let you check availability without catching exceptions; Find returns all instances matching a predicateManual registration: use Singleton.Add and Singleton.Remove at runtime to manage singletons of any reference type, not just Unity objectsNo reload on play mode: works seamlessly with Unity’s no-domain-reload settingEditor tooling: Top Bar menu with force-refresh, automatic refresh, change logging, and project icon toggles; singleton list inspector to view and enable/disable each singleton individuallyContentSingleton attribute: SingletonAttribute for automatic asset management, with inherited, displayName, and folderPath optionsRuntime access classes: Singleton (manual Add / Remove) and Singleton (Instance, Instances, HasInstance, TryGetInstance, Find, SelectInstance)Editor tooling: automatic refresh system, singleton list inspector, project iconsDemo: a Tic Tac Toe game built with MVC, demonstrating 5 singletons across MonoBehaviour, ScriptableObject, and plain class typesRequirementsUnity 6.0 or laterClaude code reviews and documentation generation.


