My player in unity2D has a system to check whether it has collided with any harming substances such as fire, villains etc. When it is true that condition, it Re-Spawns to a certain position. It also decreases the amount of life that the player has. for eg:- At start my player has 15 such lives and each time any harming object as I have mentioned before, collides with my player, it decreases to 14 and so on.
But, In certain places I have fire along the way which is made up of many object as the image shows :-
And, when the player collides with this fire, it decreases the lives 4-5 more because it has collided with more than one object. So, how can I make such that my player's life will only be deducted by 1 in this condition?