'unity-photon- how can get other player's companent

I'm making a multiplayer game. I want to make a system. When a "x" player play a game and there is a "y" player. "x" player should see "y" player's score on "y" player's head. It okay I made it. But I want when "x" player's score less then "y" player's, "y" player's nickname become red. In short how can get other player's score?



Solution 1:[1]

An option can be an Game Manager System where all the info can be collected and manipulated. Here you can check if the score 1 is less than score 2. With bool you can check and uncheck the colors.

Hope this will help you to develop an idea of how to do it.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Daniel Pirvu