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;
#if UNITY_EDITOR
using UnityEditor;
[CustomEditor(typeof(Inventory))]
public class InventoryEditor : Editor
@ -36,4 +37,5 @@ public class InventoryEditor : Editor
EditorGUI.indentLevel--;
EditorGUILayout.EndVertical ();
}
}
}
#endif