Add PostRenderHook

This commit is contained in:
copecone committed 2026-05-21 16:04:12 +09:00
1 parent 47a570a3d6
commit c8e6814efa
3 files changed
+25 -2

No files matched your search

+5
View File
@@ -1,4 +1,6 @@
using System.Collections;
using System.IO;
using MelonLoader.Utils;
using UnityEngine;
namespace ADOFAIRenderer.Component
@@ -59,6 +61,9 @@ namespace ADOFAIRenderer.Component
scrCamera.instance.forceRTCam = true;
scrCamera.instance.SetupRTCam(true);
if (!scrCamera.instance.gameObject.GetComponent<PostRenderHook>())
scrCamera.instance.gameObject.AddComponent<PostRenderHook>();
_originalInputOffset = scrConductor.currentPreset.inputOffset;
scrConductor.currentPreset.inputOffset = 0;
RDC.auto = true;