How can i get (or create) a real time clock for my multiplayer game?
Hi there,
I'm trying to find a way to use real (shared) time in my multiplayer game. Is there any way to get this information (like hours, minutes, seconds)?
Thanks!!
I'm trying to find a way to use real (shared) time in my multiplayer game. Is there any way to get this information (like hours, minutes, seconds)?
Thanks!!
0
Comments
CODE:
Thank you for choosing Photon!
PUN2 has a UtilityScript for in room countdown timer: CountdownTimer.cs.
It makes use of the synchronize server time on all clients: PhotonNetwork.ServerTimestamp.
You can also use PhotonNetwork.Time directly.