From 2c2db3556d92d1e87d949b90a803fd326bf6a653 Mon Sep 17 00:00:00 2001
From: stendler <stendler@mi.fu-berlin.de>
Date: Fri, 2 Feb 2018 15:00:25 +0100
Subject: [PATCH] remove test creation of object - only possible in editor and
 not shipped

https://answers.unity.com/questions/316805/unityeditor-namespace-not-found.html
---
 Assets/MemoryBox/arScene/Scripts/ObjectFactory.cs | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/Assets/MemoryBox/arScene/Scripts/ObjectFactory.cs b/Assets/MemoryBox/arScene/Scripts/ObjectFactory.cs
index 9570170..ee63938 100644
--- a/Assets/MemoryBox/arScene/Scripts/ObjectFactory.cs
+++ b/Assets/MemoryBox/arScene/Scripts/ObjectFactory.cs
@@ -1,4 +1,3 @@
-using UnityEditor;
 using UnityEngine;
 
 namespace MemoryBox.arScene.Scripts
@@ -41,12 +40,7 @@ namespace MemoryBox.arScene.Scripts
 
 		private void Start()
 		{
-			var s = SystemInfo.operatingSystemFamily == OperatingSystemFamily.Windows ? "\\": "/";
-			var path = "Assets" + s + "MemoryBox" + s + "arScene" + s + "testobjects" + s;
-			var mesh = AssetDatabase.LoadAssetAtPath<Mesh>(path + "20.wav.obj");
-			var material = AssetDatabase.LoadAssetAtPath<Material>("Assets"+ s + "MemoryBox" + s + "Materials" + s + "Thunderstorm.mat");
-			AddMemstone("01", 52.52625f, 13.40070f, mesh, material);
-			//Logger.AddDebug("test memstone added - "+(mesh!=null)+"/"+(material!=null)+" - "+path);
+			
 		}
 	}
 }
-- 
GitLab