This commit is contained in:
vis2k 2021-07-07 20:46:50 +08:00
parent c241d9dc20
commit 9ac3cf9534

View File

@ -32,7 +32,10 @@ static NetworkTime()
static double offsetMax = double.MaxValue;
/// <summary>Returns double precision clock time _in this system_, unaffected by the network.</summary>
// => useful until we have Unity's 'double' Time.time
// useful until we have Unity's 'double' Time.time
//
// CAREFUL: unlike Time.time, this is not a FRAME time.
// it changes during the frame too.
public static double localTime => stopwatch.Elapsed.TotalSeconds;
/// <summary>The time in seconds since the server started.</summary>