Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 252 Bytes

README.md

File metadata and controls

10 lines (8 loc) · 252 Bytes

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