Skip to content
Snippets Groups Projects
Commit 2c2db355 authored by stendler's avatar stendler
Browse files

remove test creation of object - only possible in editor and not shipped

parent 76b5fea1
No related branches found
No related tags found
No related merge requests found
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);
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment