Utils.Singleton

Provides classes to make other classes singletons.

openupm openupm

Installation

This should work on any reasonably modern Unity version. Built and tested in Unity 6000.0.26f1 (Unity 6).

  1. Open project settings
  2. Select Package Manager
  3. Add the OpenUPM package registry:
    • Name: OpenUPM
    • URL: https://package.openupm.com
    • Scope(s)
      • com.uralstech
  4. Open the Unity Package Manager window (Window -> Package Manager)
  5. Change the registry from Unity to My Registries
  6. Add the Utils.Singleton package

Preview Versions

Do not use preview versions (i.e. versions that end with "-preview") for production use as they are unstable and untested.

Documentation

See https://uralstech.github.io/Utils.Singleton/DocSource/QuickStart.html or APIReferenceManual.pdf and Documentation.pdf in the package documentation for the reference manual and tutorial.