Exemplo n.º 1
0
        void saveScene()
        {
            EditorApplication.SaveScene(scenePath);
            lastSaveTimeScene = DateTime.Now;
            isStarted         = true;
            if (showMessage)
            {
                Debug.Log("AutoSave saved: " + scenePath + " on " + lastSaveTimeScene);
            }
            AutoSave repaintSaveWindow = (AutoSave)EditorWindow.GetWindow(typeof(AutoSave));

            repaintSaveWindow.Repaint();
        }
Exemplo n.º 2
0
        static void Init()
        {
            AutoSave saveWindow = (AutoSave)EditorWindow.GetWindow(typeof(AutoSave));

            saveWindow.Show();
        }