mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-16 07:10:35 +00:00
parent
b789748e78
commit
f0e3c4f596
@ -71,11 +71,6 @@ public class WakeUpSync : NetworkBehaviour
|
||||
GlobalMessenger.AddListener(OWEvents.WakeUp, OnWakeUp);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// same as TimeLoop.GetSecondsElapsed, but tracks time even when time is not flowing yet
|
||||
/// </summary>
|
||||
public static float GetSecondsElapsed() => Time.timeSinceLevelLoad + TimeLoop._timeOffset;
|
||||
|
||||
public float GetTimeDifference()
|
||||
{
|
||||
var myTime = Time.timeSinceLevelLoad;
|
||||
|
Loading…
Reference in New Issue
Block a user