Adding UIDisplay somehow broke ModifyScore

Please close this shameful thread. I realize the problem was wild user error.

I set an ‘isEnemy’ flag at first when designing the code and instead changed to ‘isPlayer’, but didn’t swap the flags on my prefabs. So, when the player died score would go up, but destroying enemy ships did nothing as it was told to.

Privacy & Terms