unity怎么导入标准资源(unity自带资源)及其解决方案(All compiler errors have to be fixed before you can enter playmode)

unity怎么导入标准资源(unity自带资源)及其解决方案(All compiler errors have to be fixed before you can enter playmode) 手把手教!

1.选择Windows下的Asset Store
unity怎么导入标准资源(unity自带资源)及其解决方案(All compiler errors have to be fixed before you can enter playmode)_第1张图片
2.点击search online后在进入的页面搜索栏里输入Standard assets
unity怎么导入标准资源(unity自带资源)及其解决方案(All compiler errors have to be fixed before you can enter playmode)_第2张图片

2(1).如果打开Asset Store后是这样,直接输入Standard assets进行查找即可
unity怎么导入标准资源(unity自带资源)及其解决方案(All compiler errors have to be fixed before you can enter playmode)_第3张图片
3.找到并进入Standard assetsunity怎么导入标准资源(unity自带资源)及其解决方案(All compiler errors have to be fixed before you can enter playmode)_第4张图片
4.下载之后再添加即可,因为我已经下载过了,所以可以直接添加
unity怎么导入标准资源(unity自带资源)及其解决方案(All compiler errors have to be fixed before you can enter playmode)_第5张图片
5.可选择自己想导入的资源,但建议不熟悉的跟我一样直接全部导入,搞不好说不定哪天就能用到呢
unity怎么导入标准资源(unity自带资源)及其解决方案(All compiler errors have to be fixed before you can enter playmode)_第6张图片
6.导入成功后assets下会多出两个文件夹,然后点击运行,如果运行成功,恭喜导入完成!如果运行显示All compiler errors have to be fixed before you can enter playmode!(如下图),则还请继续往下看…

unity怎么导入标准资源(unity自带资源)及其解决方案(All compiler errors have to be fixed before you can enter playmode)_第7张图片
7.进入控制台,找到红色感叹号并双击进入
unity怎么导入标准资源(unity自带资源)及其解决方案(All compiler errors have to be fixed before you can enter playmode)_第8张图片
8.如果是SimpleActivatorMenu.cs,将红线处的GUIText改为UnityEngine.UI.Text然后保存即可。
unity怎么导入标准资源(unity自带资源)及其解决方案(All compiler errors have to be fixed before you can enter playmode)_第9张图片
9.如果是ForcedReset.cs脚本,将下图红色方框内的改为一样即可:[RequireComponent(typeof (Image))]
unity怎么导入标准资源(unity自带资源)及其解决方案(All compiler errors have to be fixed before you can enter playmode)_第10张图片
本人先前因这点耽误了些时间,虽然本人也在网上也找过解决方法,但当时并沒看懂…于是自己写一篇手把手教程,希望能对看到的人有所帮助。

你可能感兴趣的:(unity,unity3d)