From 81ad2ebef4f927e6da5d361a17a0a3f97b2ce5a1 Mon Sep 17 00:00:00 2001 From: OrangeSpork <57274555+OrangeSpork@users.noreply.github.com> Date: Mon, 1 Nov 2021 23:31:01 -0600 Subject: [PATCH] Version # --- HS2VR/CameraTool.cs | 2 +- HS2VR/VRPlugin.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/HS2VR/CameraTool.cs b/HS2VR/CameraTool.cs index 9d22691..73fe60d 100644 --- a/HS2VR/CameraTool.cs +++ b/HS2VR/CameraTool.cs @@ -157,7 +157,7 @@ protected override void OnUpdate() } else if (Controller.GetPressUp(Valve.VR.EVRButtonId.k_EButton_SteamVR_Trigger) && Time.unscaledTime - triggerStartTime <= .5f && !rewindCamera) { - if (currentCamera == 9) + if (currentCamera == Studio.Studio.Instance.sceneInfo.cameraData.Length - 1) currentCamera = 0; else currentCamera++; diff --git a/HS2VR/VRPlugin.cs b/HS2VR/VRPlugin.cs index 9b032b1..d7cb726 100644 --- a/HS2VR/VRPlugin.cs +++ b/HS2VR/VRPlugin.cs @@ -15,7 +15,7 @@ namespace HS2VR /// /// This is an example for a VR plugin. At the same time, it also functions as a generic one. /// - [BepInPlugin(GUID: "HS2VR.unofficial", Name: "HS2VR", Version: "0.7.7.0")] + [BepInPlugin(GUID: "HS2VR.unofficial", Name: "HS2VR", Version: "0.9.1.0")] [BepInProcess("HoneySelect2")] [BepInProcess("StudioNEOV2")] public class VRPlugin : BaseUnityPlugin @@ -41,7 +41,7 @@ public string Version { get { - return "0.0.9.0"; + return "0.9.1.0"; } }