From 9ac3cf953460110c23ec132efa84a28a810a76ff Mon Sep 17 00:00:00 2001 From: vis2k Date: Wed, 7 Jul 2021 20:46:50 +0800 Subject: [PATCH] comment --- Assets/Mirror/Runtime/NetworkTime.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Assets/Mirror/Runtime/NetworkTime.cs b/Assets/Mirror/Runtime/NetworkTime.cs index 547181133..5d1704279 100644 --- a/Assets/Mirror/Runtime/NetworkTime.cs +++ b/Assets/Mirror/Runtime/NetworkTime.cs @@ -32,7 +32,10 @@ static NetworkTime() static double offsetMax = double.MaxValue; /// Returns double precision clock time _in this system_, unaffected by the network. - // => 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; /// The time in seconds since the server started.