Хорошо, сейчас я изучаю единство, и сегодня утром я открыл свою игру и столкнулся с этим кодом ошибки
Assets\Standard Assets\Utility\SimpleActivatorMenu.cs(11,16): error CS0619:
'GUIText' is obsolete: 'GUIText has been removed. Use UI.Text instead.'
Я попытался заменить GUIText
на UI.Text
, однако это привело к различные сообщения об ошибках:
Assets\Standard Assets\Utility\SimpleActivatorMenu.cs(11,16): error CS0246:
The type or namespace name 'UI' could not be found (are you missing a using
directive or an assembly reference?)
или
Assets\Standard Assets\Utility\SimpleActivatorMenu.cs(11,16): error CS0246:
The type or namespace name 'UIText' could not be found (are you missing a using
directive or an assembly reference?)
Кто-нибудь может мне помочь?