mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-04 07:19:22 +00:00
[DesktopVRSwitch] Fixes for 2023r171
This commit is contained in:
parent
ba6a5f4778
commit
be82bf228c
12 changed files with 61 additions and 129 deletions
|
@ -9,7 +9,7 @@ using UnityEngine.Rendering.PostProcessing;
|
|||
|
||||
namespace NAK.DesktopVRSwitch.Patches;
|
||||
|
||||
class ReferenceCameraPatch
|
||||
internal class ReferenceCameraPatch
|
||||
{
|
||||
public static void OnWorldLoad()
|
||||
{
|
||||
|
@ -18,7 +18,7 @@ class ReferenceCameraPatch
|
|||
CopyToInactiveCam(activeCamera, inactiveCamera);
|
||||
}
|
||||
|
||||
static void CopyToInactiveCam(Camera activeCam, Camera inactiveCam)
|
||||
private static void CopyToInactiveCam(Camera activeCam, Camera inactiveCam)
|
||||
{
|
||||
if (inactiveCam == null || activeCam == null)
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue