Closed siddhantbagga15 closed 1 year ago
This PR won't be necessary I believe as the root cause was the NullReferenceException on the Explosion Game Object. That has now been put into a try-catch block. I suggest we merge this only if any of the levels have issues.
The change is working. Will leave the changes in the pipeline in case we still have issues for the enemies in level 0 and old_level_2. Great work!
The enemy was not being killed and time was not added to the duration left. This is because previously all the enemies had tags (enemy_red, enemy_blue, enemy_yellow) attached. Added "enemy_tag" as the common tag for the enemies and changed it in the code. Some new levels still have enemy_red/enemy_blue/enemy_yellow attached, this is why the shooting is working there.