diff --git a/MoCha/Assets/Scripts/InventoryEditor.cs b/MoCha/Assets/Scripts/InventoryEditor.cs index 46a379e..4370fa0 100644 --- a/MoCha/Assets/Scripts/InventoryEditor.cs +++ b/MoCha/Assets/Scripts/InventoryEditor.cs @@ -1,4 +1,5 @@ using UnityEngine; +#if UNITY_EDITOR using UnityEditor; [CustomEditor(typeof(Inventory))] public class InventoryEditor : Editor @@ -36,4 +37,5 @@ public class InventoryEditor : Editor EditorGUI.indentLevel--; EditorGUILayout.EndVertical (); } -} \ No newline at end of file +} +#endif \ No newline at end of file