Hi i get an error when building it seems to only be one script it was working and building fine yesterday but suddenly it causing an error anyone have an idea on a fix
Assets/RPG 2.0/Scripts/UI/GUIResources.cs(3,7): error CS0246: The type or namespace name `UnityEditor’ could not be found. Are you missing a using directive or an assembly reference?
I need to get this fixed asap as its stopping me patching my game
so far i tried
deleting then reimporting a fresh version of the script
reimport project (it crashed half way through so might be corrupt data somewhere)
The error is only on this one script (so far) is this just something was corrupt and need reimport project or is it a script error