protected void RestoreDevicePreview()
        {
            if (m_ConfigAsset.m_BackupPreviewToDisk == false)
            {
                return;
            }

            // Debug.Log("Restore");

            m_Loading     = true;
            m_NeedsBackup = false;
            m_ConfigAsset = ResolutionSettingsWindow.GetConfig();
            // Load screenshots from temporary folder
            foreach (ScreenshotResolution resolution in m_ConfigAsset.m_Config.GetActiveResolutions())
            {
                if (resolution.m_Texture != null)
                {
                    continue;
                }

                string filename = Application.persistentDataPath + "/" + m_TempFolder + "/" + resolution.m_ResolutionName + ".png";

                //				Debug.Log ("Loading tmp image " + filename);

                if (!System.IO.File.Exists(filename))
                {
                    continue;
                }

                resolution.m_Texture = TextureExporter.LoadFromFile(filename);
            }
            m_Loading = false;
        }
        void Reset()
        {
            //			Debug.Log ("Reset");

            m_ConfigAsset = ResolutionSettingsWindow.GetConfig();

            DestroyManager();

            if (m_Camera)
            {
                GameObject.DestroyImmediate(m_Camera.gameObject);
            }
            if (m_Canvas)
            {
                GameObject.DestroyImmediate(m_Canvas.gameObject);
            }

            m_IsUpdating = false;
        }