📜  无法加载关联的脚本 - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:32.627000             🧑  作者: Mango

代码示例1
the same issue just happened to me.
The reason was bcz I've renamed one of the scripts(inside Unity) 
Visual Studio couldn't detect the issue
so just make sure that the files in Unity has the same class name in the Visual Studio.