public GameObject GameOverPanel; //selfexlplanatory private void Awake() { if (instance != null) { Destroy(this); } else { instance = this; } }
// Use this for initialization void Start() { NotificationManager.CancelAll(); Instance = this; }
public GameObject GameOverPanel; //selfexlplanatory private void Awake() { if (instance != null) { Destroy(this); } else { instance = this; } }
// Use this for initialization void Start() { NotificationManager.CancelAll(); Instance = this; }