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

来源:互联网 发布:游戏渠道数据分析 编辑:程序博客网 时间:2024/04/29 23:13
转载请注明出处: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”错误!

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












1 0