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