Game properties or other "server side" sync.
Options
carmine
✭✭
I know there are player and room properties... Is there a "game" properties that everyone could see and set? I know I could potentially code this separately as I have been with other stuff... however... I'm gearing up for the LAN version of Photon, and as much as I can have contained in one thing the better.
Secondly... is there some sort of "time" that everyone sees the same-ish... For instance.. is there a photon servertime? Or packet servertime? That would be the same-ish no matter what time zone I'm in?
Thanks!
-Carmine
Secondly... is there some sort of "time" that everyone sees the same-ish... For instance.. is there a photon servertime? Or packet servertime? That would be the same-ish no matter what time zone I'm in?
Thanks!
-Carmine
0
Comments
-
There are no game properties
We got a timestamp: PhotonNetwork.time.
This does not resemble a date but it's the same int on all clients (aside from an approximate +/-20ms jitter).
Each server has it's own timestamp though, so maybe it doesn't help you...0