Unity Hub导入项目“静夜思”报错error CS0619: ‘GUIText‘ is obsolete: ‘GUIText has been removed. Use UI.Text inst_error cs0619: 'guitexture' is obsolete: 'guitextur
作者:菜鸟追梦旅行 | 2024-02-21 18:30:19
赞
踩
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。图为有问题的代码