diff --git a/Assets/Scripts/ServicesListPopulator.cs b/Assets/Scripts/ServicesListPopulator.cs index 19c5b4b..144a3a2 100644 --- a/Assets/Scripts/ServicesListPopulator.cs +++ b/Assets/Scripts/ServicesListPopulator.cs @@ -68,11 +68,7 @@ public class ServicesListPopulator : MonoBehaviour foreach (Transform child in gridObjectCollection.transform) { TextMeshPro[] textMeshes = child.GetComponentsInChildren(); - if ( - textMeshes.Length >= 2 - && textMeshes[0].text == apiUrl - && textMeshes[1].text == hostname - ) + if (textMeshes.Length >= 2 && textMeshes[0].text == apiUrl && textMeshes[1].text == hostname) { Debug.Log($"Removing service from table: {service}"); Destroy(child.gameObject); diff --git a/Assets/Scripts/VideoCaptureHandler.cs b/Assets/Scripts/VideoCaptureHandler.cs index 24416cb..5e94d78 100644 --- a/Assets/Scripts/VideoCaptureHandler.cs +++ b/Assets/Scripts/VideoCaptureHandler.cs @@ -3,9 +3,9 @@ using System.Collections; using System.Collections.Generic; using System.IO; using System.Threading.Tasks; +using Microsoft.MixedReality.Toolkit.UI; using UnityEngine; using UnityEngine.Windows.WebCam; -using Microsoft.MixedReality.Toolkit.UI; #if WINDOWS_UWP && !UNITY_EDITOR using Windows.Storage; #endif @@ -131,7 +131,10 @@ public class VideoCaptureHandler : MonoBehaviour { if (result.success) { - string filename = string.Format("WebView_{0}.mp4", DateTime.UtcNow.ToString("yyyy-MM-ddTHHmmssZ")); + string filename = string.Format( + "WebView_{0}.mp4", + DateTime.UtcNow.ToString("yyyy-MM-ddTHHmmssZ") + ); string filepath = Path.Combine(Application.persistentDataPath, filename); Debug.Log("Saving video to: " + filepath);