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了,最后发现是我的脚本名与我的类名不一致。哦,真的是糟糕。

 

posted @ 2019-03-10 11:02  yocichen  阅读(2986)  评论(0编辑  收藏  举报