From 5f4a617ce1c4a3ee13177638f0b3ba998ba5778f Mon Sep 17 00:00:00 2001 From: FancyEX <30706150+fancythedeveloper@users.noreply.github.com> Date: Wed, 8 May 2024 17:20:07 -0400 Subject: [PATCH] Update Editor.cs "#if UNITY_EDITOR / #endif" my GOAT --- Assets/Scripts/LevelEditor/Editor.cs | 2 ++ 1 file changed, 2 insertions(+) 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 {