static void Spawn() { GameObject go = new GameObject("_UnScaledTime"); DontDestroyOnLoad(go); Instance = go.AddComponent<UnScaledTime>(); Instance.RealTime = Time.realtimeSinceStartup; }