private static void SaveSceneViewMKGlowSettings(ref SaveSceneViewMKGlowBlock save)
        {
            GetGlowLayerProperty();
            FileStream stream;

            stream = new FileStream(Application.dataPath + FILENAME, FileMode.Create);
            BinaryFormatter formatter = new BinaryFormatter();

            formatter.Serialize(stream, save);
            stream.Close();
        }
        private static void SaveSceneViewMKGlowSettings()
        {
            GetGlowLayerProperty();
            SaveSceneViewMKGlowBlock save = new SaveSceneViewMKGlowBlock(MKGlowComponent.enabled, (int)MKGlowComponent.GlowRenderLayer, (int)MKGlowComponent.GlowResolution, (int)MKGlowComponent.GlowType,
                                                                         (int)MKGlowComponent.GlowQuality, (int)MKGlowComponent.BlurIterations, (int)MKGlowComponent.Samples,
                                                                         MKGlowComponent.FullScreenGlowTint.r, MKGlowComponent.FullScreenGlowTint.g, MKGlowComponent.FullScreenGlowTint.b, MKGlowComponent.FullScreenGlowTint.a,
                                                                         MKGlowComponent.BlurSpread, MKGlowComponent.GlowIntensity, MKGlowComponent.BlurOffset, MKGlowComponent.ShowCutoutGlow, MKGlowComponent.ShowTransparentGlow, (int)MKGlowComponent.GlowCurve);
            FileStream stream;

            stream = new FileStream(Application.dataPath + FILENAME, FileMode.Create);
            BinaryFormatter formatter = new BinaryFormatter();

            formatter.Serialize(stream, save);
            stream.Close();
        }
 private static void SaveSceneViewMKGlowSettings(ref SaveSceneViewMKGlowBlock save)
 {
     GetGlowLayerProperty();
     FileStream stream;
     stream = new FileStream(Application.dataPath + FILENAME, FileMode.Create);
     BinaryFormatter formatter = new BinaryFormatter();
     formatter.Serialize(stream, save);
     stream.Close();
 }
 private static void SaveSceneViewMKGlowSettings()
 {
     GetGlowLayerProperty();
     SaveSceneViewMKGlowBlock save = new SaveSceneViewMKGlowBlock(MKGlowComponent.enabled, (int)MKGlowComponent.GlowRenderLayer, (int)MKGlowComponent.GlowResolution, (int)MKGlowComponent.GlowType,
                                                                  (int)MKGlowComponent.GlowQuality, (int)MKGlowComponent.BlurIterations, (int)MKGlowComponent.Samples,
                                                                  MKGlowComponent.FullScreenGlowTint.r, MKGlowComponent.FullScreenGlowTint.g, MKGlowComponent.FullScreenGlowTint.b, MKGlowComponent.FullScreenGlowTint.a,
                                                                  MKGlowComponent.BlurSpread, MKGlowComponent.GlowIntensity, MKGlowComponent.BlurOffset, MKGlowComponent.ShowCutoutGlow, MKGlowComponent.ShowTransparentGlow, (int)MKGlowComponent.GlowCurve);
     FileStream stream;
     stream = new FileStream(Application.dataPath + FILENAME, FileMode.Create);
     BinaryFormatter formatter = new BinaryFormatter();
     formatter.Serialize(stream, save);
     stream.Close();
 }
 public static void Save(ref SaveSceneViewMKGlowBlock save)
 {
     SaveSceneViewMKGlowSettings(ref save);
 }
 public static void Save(ref SaveSceneViewMKGlowBlock save)
 {
     SaveSceneViewMKGlowSettings(ref save);
 }