Im using the FPS character controller from the unity standard assets package and I get an error that GUIText is obsolete and to use UI.Text. I went and swapped it out and I got this error instead:The type or namespace name ‘UI’ could not be found (are you missing a using directive or an assembly reference?
From what I can tell online i have to insert UnityEngine.UI at the top but when I type it there it just greys out and gives me the same error. This has also happened to me before but I dont remember how I fixed it.
Any thoughts?
Edit: just found out I had to put UnityEngine.UI.Text in place of GUIText. No errors now
Comment it out on top and try manually type it out as UnityEngine.UI.?Text? and see if what you are trying to do is using UnityEngine.UI in the first place. Maybe post a snippet so people have something to work from.