Section 5 Lecture 83

Hi @Sabeen_Moin,

Just a very quick glance, but there is a typo in your following method;

	void OnCollisionEnder2D (Collision2D col) {
		timesHits++;
		SimulateWin();
	}

It should be called OnCollisionEnter2D - as such, nothing happens when there is a collision as you don’t have a method to handle it on the Brick.

1 Like