diff --git a/AVVR/Assets/_Scripts/AudioRecorder/AudioRecorder.cs b/AVVR/Assets/_Scripts/AudioRecorder/AudioRecorder.cs
index a78340014a16daaffaee81b50486f8770d7fcdda..ee74b4fb3aef79a0f8bf36244772dcfa3f81bc28 100644
--- a/AVVR/Assets/_Scripts/AudioRecorder/AudioRecorder.cs
+++ b/AVVR/Assets/_Scripts/AudioRecorder/AudioRecorder.cs
@@ -1,3 +1,5 @@
+#if UNITY_EDITOR
+
 using UnityEngine;
 using UnityEditor;
 using System;
@@ -310,4 +312,5 @@ public class EditorCoroutine
             Stop();
         }
     }
-}
\ No newline at end of file
+}
+#endif
\ No newline at end of file
diff --git a/AVVR/Assets/_Scripts/AudioRecorder/DelayedAudioPlay.cs b/AVVR/Assets/_Scripts/AudioRecorder/DelayedAudioPlay.cs
index 10f013322e9dbdd11da8a84e9abe0f994266761e..d78e1c4090a5fba9bd09f51cd7fdf7bfd0c7cc8d 100644
--- a/AVVR/Assets/_Scripts/AudioRecorder/DelayedAudioPlay.cs
+++ b/AVVR/Assets/_Scripts/AudioRecorder/DelayedAudioPlay.cs
@@ -1,3 +1,4 @@
+#if UNITY_EDITOR
 using UnityEngine;
 using System.Collections;
 using UnityEditor;
@@ -36,4 +37,5 @@ public class DelayedAudioPlay : MonoBehaviour
         audioSource.Play();
         Debug.Log($"Playing audio source: {audioSource.name}");
     }
-}
\ No newline at end of file
+}
+#endif
\ No newline at end of file
diff --git a/AVVR/Assets/_Scripts/Change Audio.cs b/AVVR/Assets/_Scripts/Change Audio.cs
index 5e7c1cbee82cdd199030d9d93db944fb62d00991..d799407457171667594f925e6163e13e69e7cb9c 100644
--- a/AVVR/Assets/_Scripts/Change Audio.cs	
+++ b/AVVR/Assets/_Scripts/Change Audio.cs	
@@ -1,3 +1,5 @@
+#if UNITY_EDITOR
+
 using System.Collections;
 using System.Collections.Generic;
 using UnityEngine;
@@ -14,3 +16,4 @@ public class ChangeAudio : MonoBehaviour
         EditorUtility.OpenPropertyEditor(audioSource);
     }
 }
+#endif
\ No newline at end of file
diff --git a/AVVR/Assets/_Scripts/Demo/LoadDemo.cs b/AVVR/Assets/_Scripts/Demo/LoadDemo.cs
index 641a122b269c3c9d6174432b80099e5ea05bf227..0f357248170c01f26556ec3c7d449fc2c93d3a83 100644
--- a/AVVR/Assets/_Scripts/Demo/LoadDemo.cs
+++ b/AVVR/Assets/_Scripts/Demo/LoadDemo.cs
@@ -1,3 +1,5 @@
+#if UNITY_EDITOR
+
 using System.Collections;
 using System.Collections.Generic;
 using UnityEngine;
@@ -56,3 +58,4 @@ public class LoadDemo : MonoBehaviour
         }
     }
 }
+#endif
\ No newline at end of file
diff --git a/AVVR/Assets/_Scripts/Import Scenery.cs b/AVVR/Assets/_Scripts/Import Scenery.cs
index 8a98b1c7cd5b218ffc13c3c3feea8decbbbe99de..416b632657e247725af9845d30ea5647365bcd0a 100644
--- a/AVVR/Assets/_Scripts/Import Scenery.cs	
+++ b/AVVR/Assets/_Scripts/Import Scenery.cs	
@@ -1,3 +1,5 @@
+#if UNITY_EDITOR
+
 using System.Collections;
 using System.Collections.Generic;
 using System.IO;
@@ -163,4 +165,5 @@ public class ImportScenery : MonoBehaviour
         // initialise assignmaterial script in new gameobject
         materialAssigner.Initialise();
     }
-}
\ No newline at end of file
+}
+#endif
\ No newline at end of file
diff --git a/AVVR/Assets/_Scripts/Import Sound.cs b/AVVR/Assets/_Scripts/Import Sound.cs
index 5570e377828785d020df5d814f229c8dbfeec02c..960b040f5a0ab442ce51c0697d3f61a9077c5967 100644
--- a/AVVR/Assets/_Scripts/Import Sound.cs	
+++ b/AVVR/Assets/_Scripts/Import Sound.cs	
@@ -1,3 +1,5 @@
+#if UNITY_EDITOR
+
 using System.Collections;
 using System.Collections.Generic;
 using UnityEngine;
@@ -61,3 +63,4 @@ public class ImportSound : MonoBehaviour
         EditorUtility.DisplayDialog("Audio file added!", name + " added to assets. Assign with \"Change Audio\"." , "OK");
     }
 }
+#endif
diff --git a/AVVR/Assets/_Scripts/Sound Click Toggle.cs b/AVVR/Assets/_Scripts/Sound Click Toggle.cs
index 107d511cb2b0338505e0727b041f847b14e9bab1..c3f7df65805589712b311b830f2e42151f520fad 100644
--- a/AVVR/Assets/_Scripts/Sound Click Toggle.cs	
+++ b/AVVR/Assets/_Scripts/Sound Click Toggle.cs	
@@ -1,3 +1,5 @@
+#if UNITY_EDITOR
+
 using System.Collections;
 using System.Collections.Generic;
 using UnityEngine;
@@ -33,3 +35,4 @@ public class SoundClickToggle : MonoBehaviour
         UnityEditor.EditorUtility.DisplayDialog("Audio Mode Set!", dialog, "OK");
     }
 }
+#endif
\ No newline at end of file