void Awake() { if (_instance != null && _instance != this) { Destroy(this.gameObject); return; } else { _instance = this; } }
public void OnApplicationQuit() { _instance = null; }