Unityengine.UI is not working

Tried saving the script already. The Unityengine.UI is still not working. Please help

Hi @Beepzes . UnityEngine.UI is a namespace, not a Component. As such, it goes at the very top of your script like so:

using UnityEngine.UI;
using UnityEngine;

Also at the GetComponent<>() part of your script, you would get the Text component:

ActionText.GetComponent<Text>().text = "Get";

Hope this helps you! :slight_smile: