private void GotoPage(object userData) { nextPage = (Page)userData; pageInTransition = true; transitionStartTime = Time.realtimeSinceStartup; // special cases if (nextPage == Page.Install) { PreUpdateChecker.Open(); } // next page slides in from the right // welcome screen slides offscreen left // reversed if returning to the welcome screen if (nextPage == Page.Welcome) { nextPageRect.x = -windowWidth; currentPageMoveTo = windowWidth; } else { nextPageRect.x = windowWidth; currentPageMoveTo = -windowWidth; } GUIUtility.ExitGUI(); }
private static void PreUpdateCheck(object userData) { if (!DoUnityVersionCheck()) { return; } PreUpdateChecker.Open(); }
private static void PreUpdateCheck(object userData) { PreUpdateChecker.Open(); }