您的位置:首页 > 移动开发 > Unity3D

启动unity3d 提示“unity3d EditorWindow could not be loaded because the script is not found in the projec”

2015-02-10 20:55 756 查看
转载请注明出处:http://blog.csdn.net/u010019717更全的内容请看我的游戏蛮牛地址:http://www.unitymanual.com/space-uid-18602.html

估计很少有人遇到这个问题,正常Mono中这个问题会直接提示出来。主要是 脚本名和类名的不统一所致。
看一下正常启动的效果(EditorWindow):


说一下错误出现的操作
脚本名为 DetectLeak .cs , 类名为:DetectLeaksWindow。默认让这个窗口打开着,启动unity3d 就会提示“unity3d EditorWindow could not be loaded because the script is not found in the projec”错误!



解决方法, 脚本的名字和 窗口类名相同就行了。


内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐