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