Пример #1
0
        private static void CheckShowUpdate()
        {
            if (Application.productName != HurricaneVRUploader)
            {
                if (HVREditorPreferences.UpdateDisplayedVersion != Version)
                {
                    HVRSetupWindow.ShowWindow();
                }

                HVREditorPreferences.UpdateDisplayedVersion = Version;
            }

            EditorApplication.update -= CheckShowUpdate;
        }
Пример #2
0
 public static void ShowWindow()
 {
     _window = GetWindow <HVRSetupWindow>(true);
     _window.titleContent = new GUIContent("Hurricane v" + HVREditorManager.Version);
 }