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

            DontDestroyOnLoad(go);
            mInst           = go.AddComponent <RealTime>();
            mInst.mRealTime = Time.realtimeSinceStartup;
        }