Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.

Commit 9d643e9

Browse files
committed
making SpectatorViewManager wack compliant
1 parent 1ebce68 commit 9d643e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SpectatorView/Samples/SharedHolograms/Assets/Addons/HolographicCameraRig/Scripts/SpectatorViewManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ namespace SpectatorView
2020
public class SpectatorViewManager : SpectatorView.SV_Singleton<SpectatorViewManager>
2121
{
2222
#region DLLImports
23+
#if UNITY_EDITOR
2324
[DllImport("UnityCompositorInterface")]
2425
private static extern int GetFrameWidth();
2526

@@ -62,7 +63,6 @@ public class SpectatorViewManager : SpectatorView.SV_Singleton<SpectatorViewMana
6263
[DllImport("UnityCompositorInterface")]
6364
private static extern bool IsRecording();
6465

65-
#if UNITY_EDITOR
6666
[DllImport("UnityCompositorInterface")]
6767
private static extern bool GetEarliestHologramPose(
6868
out float rotX, out float rotY, out float rotZ, out float rotW,

0 commit comments

Comments
 (0)