SHA256
forked from ADOFAIEditorForum/ADOFAIRenderer
Add PostRenderHook
This commit is contained in:
1 parent
47a570a3d6
commit
c8e6814efa
3 files changed
+25
-2
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user