void OnCollisionEnter2D(Collision2D coll) { if (coll.gameObject.tag == "Player" && enemiesLeft.isEmpty()) { gameSystem.finishGame(); } }