[解决方案]Unity导入Standard Assets后报错怎么办?
Copyright Notice: This article is an original work licensed under the CC 4.0 BY-NC-ND license.
If you wish to repost this article, please include the original source link and this copyright notice.
Source link: https://v2know.com/article/169
环境:
① Unity版本:2019.3.2f1
② Visual Studio 2019 Community
③ Standard Assets (for Unity 2017.3)
错误代码:
CS0619
基本情况:
解决方案:
①在这两个cs文件头部增加:
using UnityEngine.UI;
②将GUITexture换成Image,
③GUIText换成Text,
④Ctrl+S保存,然后尝试运行。
祝好运。
This article was last edited at 2020-02-23 05:23:09