How to change UI color for player viewing scoreboard?
Hey All! So I have successfully implemented a scoreboard into my game, however, I would like for the local player's username to be displayed as a different color than the rest of the players in the room, similar to COD's scoreboard.
Below is the code that handles the ScoreboardItem
I tried this and the color of the text stayed white, but when I tried to change the if statement to if(!view.IsMine), it changed every one of the player's names to yellow, so I am a bit confused as to why that is happening and how I can achieve the goal of just changing the local player's username on the scoreboard to yellow. Any input will be appreciated. Thanks in advance!