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

        repaintSaveWindow.Repaint();
    }
示例#2
0
    static void Init()
    {
        AutoSaveEditor _AutoSaveWindow = (AutoSaveEditor)EditorWindow.GetWindow(typeof(AutoSaveEditor));

        _AutoSaveWindow.Show();
    }