My level doesn’t end (the Debug.Log is not printed) even after the timer is up and the attacker is 0.
It only gets printed when I stop the play mode.
It seems like the whole OnDestroy() takes place after I stop the play mode because I tried to debug.log the bool, the numberofenemies all that is in the AttackerKilled() gets printed after I stop the play mode
Need help for this, I’m not sure what to do.
Is there anyone experiencing the same issue? Any solution?