-Some missed bits that prevent compile for Android.
This commit is contained in:
Родитель
fdd0b29c9b
Коммит
5a503aaf4b
|
@ -1,8 +1,8 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT License. See LICENSE in the project root for license information.
|
||||
#if WINDOWS_UWP
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using UnityEngine.Windows.WebCam;
|
||||
using static UnityEngine.Windows.WebCam.PhotoCapture;
|
||||
|
@ -168,3 +168,4 @@ namespace Microsoft.MixedReality.Toolkit.LightingTools
|
|||
}
|
||||
}
|
||||
}
|
||||
#endif
|
|
@ -174,7 +174,7 @@ namespace Microsoft.MixedReality.Toolkit.LightingTools
|
|||
#if WINDOWS_UWP && !UNITY_EDITOR
|
||||
cameraCapture = new CameraCaptureUWP();
|
||||
#elif (UNITY_ANDROID || UNITY_IOS) && !UNITY_EDITOR
|
||||
captureCamera = new CameraCaptureARFoundation();
|
||||
cameraCapture = new CameraCaptureARFoundation();
|
||||
#else
|
||||
// On a desktop computer, or certain laptops, we may not have access to any cameras.
|
||||
if (WebCamTexture.devices.Length <= 0)
|
||||
|
|
Загрузка…
Ссылка в новой задаче