|
@@ -1,4 +1,4 @@
|
|
|
-using System;
|
|
|
+using System;
|
|
|
using System.IO;
|
|
|
using System.Collections;
|
|
|
using System.Collections.Generic;
|
|
@@ -18,7 +18,7 @@ namespace COM3D2.MeidoPhotoStudio.Plugin
|
|
|
private static event EventHandler<ScreenshotEventArgs> ScreenshotEvent;
|
|
|
private const string pluginGuid = "com.habeebweeb.com3d2.meidophotostudio";
|
|
|
public const string pluginName = "MeidoPhotoStudio";
|
|
|
- public const string pluginVersion = "0.0.0";
|
|
|
+ public const string pluginVersion = "1.0.0";
|
|
|
public const int sceneVersion = 1000;
|
|
|
public const int kankyoMagic = -765;
|
|
|
public static string pluginString = $"{pluginName} {pluginVersion}";
|
|
@@ -45,8 +45,8 @@ namespace COM3D2.MeidoPhotoStudio.Plugin
|
|
|
|
|
|
private void Awake()
|
|
|
{
|
|
|
- HarmonyLib.Harmony.CreateAndPatchAll(typeof(AllProcPropSeqStartPatcher));
|
|
|
- HarmonyLib.Harmony.CreateAndPatchAll(typeof(BgMgrPatcher));
|
|
|
+ var harmony = HarmonyLib.Harmony.CreateAndPatchAll(typeof(AllProcPropSeqStartPatcher));
|
|
|
+ harmony.PatchAll(typeof(BgMgrPatcher));
|
|
|
ScreenshotEvent += OnScreenshotEvent;
|
|
|
DontDestroyOnLoad(this);
|
|
|
UnityEngine.SceneManagement.SceneManager.sceneLoaded += OnSceneLoaded;
|