An implementation of Singleton pattern for Unity MonoBehaviours.