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