void LateUpdate() { // if (launcherButtonNeedsInitializing) { // GameEvents.onGUIApplicationLauncherReady.Add(OnGUIAppLauncherReady); //// OnGUIAppLauncherReady(); // launcherButtonNeedsInitializing = false; // } if ((ambientManager != null) && (currentTime == EditorTime.Night)) { ambientManager.rotateSkybox(); } }