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

转载请注明出处: http://blog.csdn.net/u010019717

更全的内容请看我的游戏蛮牛地址:http://www.unitymanual.com/space-uid-18602.html 


       估计很少有人遇到这个问题,正常Mono中这个问题会直接提示出来。
主要是 脚本名和类名的不统一所致。

看一下正常启动的效果(EditorWindow):
启动unity3d 提示“unity3d EditorWindow could not be loaded because the script is not found in the projec”_第1张图片



说一下错误出现的操作

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

启动unity3d 提示“unity3d EditorWindow could not be loaded because the script is not found in the projec”_第2张图片

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













你可能感兴趣的:(unity,animation,unity3d,3D,UGUI)