Exemplo n.º 1
0
    protected static void MenuItemOpenWizard()
    {
        MxlvlEditor win = GetWindow(WindowType, false, CurrentLang.WindowTitle, true) as MxlvlEditor;

        win.version          = MxlvlPublish.MxlvlPublisherSettings.Version;
        win.webglBuildFolder = MxlvlPublish.MxlvlPublisherSettings.WebGLBuildPath;
        win.gameId           = MxlvlPublish.MxlvlPublisherSettings.PublisherKey;
    }
Exemplo n.º 2
0
    public void HasUpdated()
    {
        if (MxlvlPublish.MxlvlPublisherSettings.PublisherKey != this.gameId)
        {
            MxlvlPublish.MxlvlPublisherSettings.PublisherKey = this.gameId;
            MxlvlEditor.SaveSettings();
        }

        if (MxlvlPublish.MxlvlPublisherSettings.WebGLBuildPath != this.webglBuildFolder)
        {
            MxlvlPublish.MxlvlPublisherSettings.WebGLBuildPath = this.webglBuildFolder;
            MxlvlEditor.SaveSettings();
        }

        if (MxlvlPublish.MxlvlPublisherSettings.WebGLBuildPath != this.version)
        {
            MxlvlPublish.MxlvlPublisherSettings.Version = this.version;
            MxlvlEditor.SaveSettings();
        }
    }