`UnityEditor' could not be found Are you missing a using directive or an assembly reference?
using UnityEditor; 之后无法Building,会出错 .
using UnityEditor; 之后无法Build,出错,不导出时在编辑器里是没有报错的,运行也正常,导出时,却提示
error CS0246: The type or namespace name `UnityEditor' could not be found. Are you missing a using directive or an as