internal override void Deserialize(ModelBase model)
        {
            var Html5OptionsModel = (GMHtml5OptionsModel)model;

            Id                     = Html5OptionsModel.id;
            Name                   = Html5OptionsModel.name;
            AllowFullscreen        = Html5OptionsModel.option_html5_allow_fullscreen;
            BrowserTitle           = Html5OptionsModel.option_html5_browser_title;
            CentreGame             = Html5OptionsModel.option_html5_centregame;
            DisplayCursor          = Html5OptionsModel.option_html5_display_cursor;
            FacebookAppDisplayName = Html5OptionsModel.option_html5_facebook_app_display_name;
            FacebookId             = Html5OptionsModel.option_html5_facebook_id;
            FlurryEnable           = Html5OptionsModel.option_html5_flurry_enable;
            FlurryId               = Html5OptionsModel.option_html5_flurry_id;
            FolderName             = Html5OptionsModel.option_html5_foldername;
            GoogleAnalyticsEnable  = Html5OptionsModel.option_html5_google_analytics_enable;
            GoogleTrackingId       = Html5OptionsModel.option_html5_google_tracking_id;
            Icon                   = Html5OptionsModel.option_html5_icon;
            Index                  = Html5OptionsModel.option_html5_index;
            InterpolatePixels      = Html5OptionsModel.option_html5_interpolate_pixels;
            JsPrepend              = Html5OptionsModel.option_html5_jsprepend;
            LoadingBar             = Html5OptionsModel.option_html5_loadingbar;
            LocalRunAlert          = Html5OptionsModel.option_html5_localrunalert;
            OutDebugToConsole      = Html5OptionsModel.option_html5_outputdebugtoconsole;
            OutputName             = Html5OptionsModel.option_html5_outputname;
            ScaleMode              = Html5OptionsModel.option_html5_scale;
            SplashPng              = Html5OptionsModel.option_html5_splash_png;
            TexturePage            = new TexturePageSize(Html5OptionsModel.option_html5_texture_page);
            UseBuiltinFont         = Html5OptionsModel.option_html5_usebuiltinfont;
            UseBuiltinParticles    = Html5OptionsModel.option_html5_usebuiltinparticles;
            UseSplash              = Html5OptionsModel.option_html5_usesplash;
            UseFacebook            = Html5OptionsModel.option_html5_use_facebook;
            Version                = Html5OptionsModel.option_html5_version;
            WebGl                  = Html5OptionsModel.option_html5_webgl;
        }
 internal override void Create(string name)
 {
     AllowFullscreen        = true;
     BrowserTitle           = "Made in GameMaker Studio 2";
     CentreGame             = false;
     DisplayCursor          = true;
     FacebookAppDisplayName = string.Empty;
     FacebookId             = string.Empty;
     FlurryEnable           = false;
     FlurryId              = string.Empty;
     FolderName            = "html5game";
     GoogleAnalyticsEnable = false;
     GoogleTrackingId      = string.Empty;
     Icon                = @"${base_options_dir}/html5/fav.ico";
     Index               = string.Empty;
     InterpolatePixels   = false;
     JsPrepend           = string.Empty;
     LoadingBar          = string.Empty;
     LocalRunAlert       = true;
     OutDebugToConsole   = true;
     OutputName          = "index.html";
     ScaleMode           = Scale.KeepAspectRatio;
     SplashPng           = @"${base_options_dir}/html5/splash.png";
     TexturePage         = new TexturePageSize(2048, 2048);
     UseFacebook         = false;
     UseBuiltinFont      = true;
     UseBuiltinParticles = true;
     UseSplash           = false;
     Version             = new BuildVersion(1, 0, 0, 0);
     WebGl               = WebGLSetting.AutoDetect;
 }