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

时间:2015-02-10 21:44:16   收藏:0   阅读:781
转载请注明出处: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”错误!

技术分享

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











??

原文:http://blog.csdn.net/u010019717/article/details/43672027

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!