unity can't add the script behaviour CallbackExecutor. The script needs ...

记一次Unity3D小问题


 

当我打开VS2017编辑完C#脚本,要将脚本拖到一个3D组件上时,发生了以下错误

unity can't add the script behaviour CallbackExecutor. The script needs ...

我差点要装.NET Core了,最后发现是我的脚本名与我的类名不一致。哦,真的是糟糕。

原文地址:https://www.cnblogs.com/yocichen/p/10504642.html