Problem with Collision Detection Counting in Unity (C#)

Hi Shrikant,

edc237 is right. At the moment, we do not filter for anything, so each collision increments the hits.

To add restrictions, we need if-statements, which are taught in one of the next videos. Please keep watching. :slight_smile:


See also: