From 1b649946152e4e632940ffa6b3655fd86fc94e52 Mon Sep 17 00:00:00 2001 From: Adam Mollis Date: Wed, 19 Jul 2023 15:57:00 -0700 Subject: [PATCH] Remove bogus URL --- .../Scripts/DataSourceJsonThemeTest.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/UnityProjects/MRTKDevTemplate/Assets/Data Binding Example/Scripts/DataSourceJsonThemeTest.cs b/UnityProjects/MRTKDevTemplate/Assets/Data Binding Example/Scripts/DataSourceJsonThemeTest.cs index 593869078d1..a46d102c445 100644 --- a/UnityProjects/MRTKDevTemplate/Assets/Data Binding Example/Scripts/DataSourceJsonThemeTest.cs +++ b/UnityProjects/MRTKDevTemplate/Assets/Data Binding Example/Scripts/DataSourceJsonThemeTest.cs @@ -17,16 +17,13 @@ namespace Microsoft.MixedReality.Toolkit.Data /// This will trigger notification changes by the base class once the data has been /// parsed. /// - /// - /// Note: The theme can be changed by pressing theme buttons at http://TryMRTK.com. - /// /// [AddComponentMenu("MRTK/Examples/Data Binding/Data Source Json Theme Test")] public class DataSourceJsonThemeTest : DataSourceGOJson { [Tooltip("URL for a json data source")] [SerializeField] - private string url = "http://TryMRTK.com/api/data"; + private string url = string.Empty; [Tooltip("How many seconds between fetching the data source and notifying all consumer of changes.")] [SerializeField] @@ -61,7 +58,7 @@ private void Update() { _time += Time.deltaTime; - if (_time >= secondsBetweenFetches) + if (_time >= secondsBetweenFetches && !string.IsNullOrEmpty(url)) { _time -= secondsBetweenFetches;