简体   繁体   中英

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM