a singleton script for Unity
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.vs/singleton/v15/Server/sqlite3
Assets
Packages
ProjectSettings
UnityPackageManager
.gitignore
README.md

README.md

Singleton

a singleton script for Unity

Create your class

public class MyClass : Singleton<MyClass>

and create the static instance

public static MyClass instance { get{ return ( (MyClass) _instance); } }