I am trying to reference a Text game object(not text mesh pro) in my script but it returns this error:
Error CS0246: The type or namespace name ‘Text’ could not be found (are you missing a using directive or an assembly reference?) (CS0246)
I am using Unity 2019.2.7f2. Here is my code:
using UnityEngine;
public class GameManager : MonoBehaviour
{
public Text MyText;
}