Actor.Peer.PhotonPeer.ServerTimeInMilliSeconds?
Options
oneiro
✭
The Photon documentation said that PhotonPeer has a ServerTimeInMilliSeconds member variable... but when i try to access it in MSVC#, code completion says it doesnt exist.
example:
Actor actor = Actors.GetActorByNumber(ActorNr);
int time = actor.Peer.PhotonPeer.ServerTimeInMilliSeconds;
what's the solution to get the server time on the server side?
example:
Actor actor = Actors.GetActorByNumber(ActorNr);
int time = actor.Peer.PhotonPeer.ServerTimeInMilliSeconds;
what's the solution to get the server time on the server side?
0
Comments
-
That's the client's photonpeer. On server side it's environment.tickcount I believe.0