I am currently working on a powerup system where my player changes tag.
I also have an enemy shooting at the player who has the tag ''player''.
Problem is when i use the powerup the tag changes to ''player2'' the enemies doesn't hit me anymore(that isn't a problem) but i also get 999+ errors saying that there isn't a object with tag ''Player'' wich is true.
The problem here is that all those error messages makes the game drop fps so is there a way to disable those error messages?
↧