Added #if to fix build on my computer.

This commit is contained in:
shadow8t4 2018-04-19 10:52:28 -05:00
parent 43d85e782c
commit afeebf294a

View file

@ -1,4 +1,5 @@
using UnityEngine; using UnityEngine;
#if UNITY_EDITOR
using UnityEditor; using UnityEditor;
[CustomEditor(typeof(Inventory))] [CustomEditor(typeof(Inventory))]
public class InventoryEditor : Editor public class InventoryEditor : Editor
@ -37,3 +38,4 @@ public class InventoryEditor : Editor
EditorGUILayout.EndVertical (); EditorGUILayout.EndVertical ();
} }
} }
#endif