Skip to content

Vastlee/MonoSingleton

Repository files navigation

MonoSingleton

Templated Singleton that can be extended by a MonoBehaviour for ease of creation.

Example

class GameManager : MonoSingleton<GameManager> { public int SomeInt { get; set; } }

From any other class GameManager.Instance.SomeInt

About

Template Singleton for MonoBehaviours

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages