On Unity Photon docs I found a property that tell me if I’m a Master or a Client player.
Very, very useful for a game.
The MasterClient is the player on room that take traces of all information of game and send them to others:
here the explanation
https://doc.photonengine.com/en-us/pun/v2/gameplay/hostmigration
here the property
https://doc-api.photonengine.com/en/pun/v1/class_photon_network.html#af498064a6019a6c69e875bd64db40216
there is something similar also on photon lua plugin?
I’m not able to find it ;(
Thanks.
Renato
1 Like
I’m looking for the solution as well, I found this post:
Ciao Tsoakuo,
I wrote a piece of code that return if you - that you connect - are master or not.
You can found at:
If you need some other help feel free to contact me.
Renato
1 Like