Scriptable Singleton

A Scriptable Singleton is a scriptable object that can is accessible by code without requiring to reference in your scenes or assets. It is accessed the same way as a regular Singeton via .Instance.

Example:

Last updated