Answer the question
In order to leave comments, you need to log in
How to connect the game time with the server?
Are there any instructions for very, very dummies, how to connect the game time with the server (in order to protect against insidious hackers-time translators)?
Answer the question
In order to leave comments, you need to log in
You send to this site www.whattimeisit.com or any other request using web requests https://docs.unity3d.com/ScriptReference/Networkin... Then you write in Google c# work with strings (text) and select that the part you need. Next, DateTime.TryParce(txt) will help you and voila, what you need!
With each server response, send a time stamp to the client, and adjust the time on the client accordingly.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question