RPC Or Set Custom Room Properties
Options
Hello,
I would like to update my turn timer in which I want all players in room to see. Based on some reading, should I use an RPC or should I set the room properties?
Thanks,
jrDev
I would like to update my turn timer in which I want all players in room to see. Based on some reading, should I use an RPC or should I set the room properties?
Thanks,
jrDev
0
Comments
-
Hi @jrDev,
Thank you for choosing Photon!
Both approaches can help you achieve your goal.
RPCs can be buffered for late joiners or rejoiners if you want.
Custom room properties are available once set for everyone through a broadcast event and received also by late joiners or rejoiners.
RPCs require a PhotonView while custom properties don't.1 -
Hello,
I went ahead and implemented a Custom Room Property and it works!
Thanks,
jrDev1