Skip to content

Commit 04c88ae

Browse files
committed
Added UWP check to Stop method as well after code review
1 parent 80c2c6d commit 04c88ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/HoloToolkit/SpatialMapping/Scripts/SpatialMappingManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ public void StartObserver()
202202
/// </summary>
203203
public void StopObserver()
204204
{
205-
#if UNITY_EDITOR
205+
#if UNITY_EDITOR || UNITY_UWP
206206
// Allow observering if a device is present (Holographic Remoting)
207207
if (!UnityEngine.VR.VRDevice.isPresent) return;
208208
#endif

0 commit comments

Comments
 (0)