From 9d643e97b20d563b9010f316475351b5d2cbd369 Mon Sep 17 00:00:00 2001 From: Dave Smits Date: Wed, 28 Jun 2017 10:00:57 +0200 Subject: [PATCH] making SpectatorViewManager wack compliant --- .../Addons/HolographicCameraRig/Scripts/SpectatorViewManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SpectatorView/Samples/SharedHolograms/Assets/Addons/HolographicCameraRig/Scripts/SpectatorViewManager.cs b/SpectatorView/Samples/SharedHolograms/Assets/Addons/HolographicCameraRig/Scripts/SpectatorViewManager.cs index 5d9600b7..0dac4dfb 100644 --- a/SpectatorView/Samples/SharedHolograms/Assets/Addons/HolographicCameraRig/Scripts/SpectatorViewManager.cs +++ b/SpectatorView/Samples/SharedHolograms/Assets/Addons/HolographicCameraRig/Scripts/SpectatorViewManager.cs @@ -20,6 +20,7 @@ namespace SpectatorView public class SpectatorViewManager : SpectatorView.SV_Singleton { #region DLLImports +#if UNITY_EDITOR [DllImport("UnityCompositorInterface")] private static extern int GetFrameWidth(); @@ -62,7 +63,6 @@ public class SpectatorViewManager : SpectatorView.SV_Singleton