unity3D 基础库导入失败the type or namespace name ‘ui‘ does not exist in the namespace ‘unityengine‘

问题版本:2019.3.5f1

报错:

脚本不认识基本库

using UnityEngine.UI;

原因:

项目目录\Library\ScriptAssemblies\

打开项目时、dll文件被删除

解决办法:

将备份文件拷贝至:
项目目录\Library\ScriptAssemblies\
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/weixin_45875105/article/details/113332794