Unity Singletons

by rafedb
+

Code example.

( Updated an hour ago )

Singletons in Unity

This is demonstrating a way to implement singletons, using a base class, in Unity®. For a complete run down of the code check out my blog!

How to open and run

  1. Open Unity
  2. When choosing a project, navigate to where you cloned this repo and select that folder.
  3. Once loaded make sure you load the scene.
  4. Hit play!