I have created a multiplier card game using photon plugin in unity,But i stuck in displaying one user data to other,How to display one user data to other in unity using photon can anyone please help
CodePudding user response:
How many player will be in your game? if just two, you can use photonView.IsMine like
if(photonView.IsMine){
//if you want you can change your color here
}else{
//if you want you can change others player' color here
}
CodePudding user response:
You can use RPC calls.
It's simple to use, but if you get it wrong... it can be a headache
https://doc.photonengine.com/en-us/pun/current/gameplay/rpcsandraiseevent