I'm having some problems with HUDText. I've got this bug suddenly in my game where things used to work, and I'm not sure why. Hoping you guys can give me some clues.
So basically, there's a player and there's enemies. Each get their own HUDText object. In the example screens below, the Player has taken damage and should be showing "-6" and "-7". The enemy has taken a head shot and should be showing "Head Shot!". BUT, all of that text appears on the Player object.
I've paused the running game and grabbed these shots, so this is how it looks "in that moment" (ignore the dead enemy at the Player's location - different Id, from a previous fight).
The game screen. The "Head Shot!" text should be on that enemy in the bottom-right corner.
The HUDText managers:
The Enemy. It's "0" object is the "Head Shot!" text, as it should be.
The Player. Its "0" and "1" are the "-6" and "-7" texts, as they should be.
Any thoughts on what could be causing the text to "attach" to the wrong object?