error CS0246: The type or namespace name 'UIText' could not be found (are you missing a using directive or an assembly reference?) code example
Example: he type or namespace name 'Text' could not be found
using UnityEngine.UI;
using UnityEngine.UI;