void Awake() { if (_instance == null) { _instance = this; DontDestroyOnLoad (this); } else { Destroy (gameObject); } }
// Use this for initialization void Start() { ScoreController.GetInstance().Reset(); NewWave(); }