Calling a function once every x time?
Comments
-
PhotonNetwork.time should help you. It's pretty accurate (+/-20ms when compared to server or other clients).
You could set a property for the room that tells the clients the timestamp when the method should be called for the first time. Then it's multiples of the interval to call it again...0 -
Hmm, was sure I tried something like that. must've mistyped something, haha0