diff --git a/Runtime/Autopilot.cs b/Runtime/Autopilot.cs index 48c3a4d..80d8b44 100644 --- a/Runtime/Autopilot.cs +++ b/Runtime/Autopilot.cs @@ -9,11 +9,13 @@ using DeNA.Anjin.Reporters; using DeNA.Anjin.Settings; using DeNA.Anjin.Utilities; -using UnityEditor; using UnityEngine; using UnityEngine.Assertions; using UnityEngine.SceneManagement; using AssertionException = NUnit.Framework.AssertionException; +#if UNITY_EDITOR +using UnityEditor; +#endif namespace DeNA.Anjin {