diff --git a/Assets/Scripts/LevelEditor/Editor.cs b/Assets/Scripts/LevelEditor/Editor.cs index 31bd3823..dd1297e4 100644 --- a/Assets/Scripts/LevelEditor/Editor.cs +++ b/Assets/Scripts/LevelEditor/Editor.cs @@ -18,8 +18,10 @@ using System.Linq; using BurstLinq; using HeavenStudio.InputSystem; using UnityEngine.U2D; +#if UNITY_EDITOR using UnityEditor.U2D; using UnityEditor.Sprites; +#endif namespace HeavenStudio.Editor {