private void Awake() { if (_instance != null && _instance != this) { Destroy(this.gameObject); } else { _instance = this; } }
public SingletonHelper() { Instantiator = GameInstantiator.getInstance; Game = GameManager.getInstance; }