《Unity3D网络游戏实战》学习笔记--Unity3D软件安装之error:CS0246The type or namespace name 'PostEffectsBase' could not

来源:互联网 发布:淘宝买iphone6s哪家好 编辑:程序博客网 时间:2024/06/05 19:00

参考:https://forum.unity.com/threads/posteffectsbase-class-missing.307584/

第一次新建工程的时候一直在报好几个error:CS0246,后发现问题出在Assets--Import packge,安装Unity时它默认未安装standard Assets(标准的资源 ).重新安装软件时勾选

standard Assets setup。检查Assets--Import packge--custom packge底下已经有了各种模型文件。然而仍然有相同的报错。内容为:错误代码+

 Assets/Standard Assets/Characters/ThirdPersonCharacter/Scripts/...我这个是Assets/Standard Assets/底下Characters文件报错,试着导入标准资源Characters,错误还是未消除。发现Standard Assets存在不同版本,最终找到匹配的Characters,从外部导入,消除错误。
参考:http://bbs.cgwell.com/thread-13192-1-1.html
其他报错文件项目类似处理。

阅读全文
0 0