当前位置:   article > 正文

Unity Hub导入项目“静夜思”报错error CS0619: ‘GUIText‘ is obsolete: ‘GUIText has been removed. Use UI.Text inst_error cs0619: 'guitexture' is obsolete: 'guitextur

error cs0619: 'guitexture' is obsolete: 'guitexture has been removed. use ui

报错:在这里插入图片描述
问题
按照控制台报错位置,找到Assets\Standard Assets\Utility\FPSCounter.cs文件,根据提示 ‘GUIText’ is obsolete: 'GUIText has been removed. Use UI.Text instead.'应该是说GUIText被移除了,没有这个了,需要改为替换的UI.Text。图为有问题的代码

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/菜鸟追梦旅行/article/detail/125691
推荐阅读
相关标签