Unity3d 提示 "The scripts file name does not match the name of the class defined in the script!"的解决办法

有两个原因,一个是文件的名称和类名不一致

第二个原因是有命名空间, 排除应该是可以修复的

原文地址:https://www.cnblogs.com/jeekun/p/3208415.html