Check the [documentation][1].
Looks as though you may want to use: [PhotonNetwork.isMasterClient][2]
I'm assuming the master client is the client that created the room. It can be changed once the room is created.
[1]: http://doc-api.exitgames.com/en/pun/current/pun/doc/class_photon_network.html
[2]: http://doc-api.exitgames.com/en/pun/current/pun/doc/class_photon_network.html#af498064a6019a6c69e875bd64db40216
↧