Greetings!
I’ve just noticed one of the enemy object is counting twice. I used Debug.Log when the colission happened and it seems it is counting left laser and right laser together (because they are hitting exact same time. That particular enemy object and both lasers have 90 degree angle).
I could’t find why this is happening. Would you please help me?
This is what I tried:
- There are no two enemy scripts in that game object. I’ve checked this.
- I tried to decrease start speed of lasers. Nothing changed.
- I tried do instantiate crush particle another place because It might be hitting the clone is increasing score somehow.