I’m following along on the lesson and trying to set up my TextController Script, but when I select text under canvas in the hierarchy, I’m not getting the text box to drag text to. Maybe I’m doing something simple wrong, or this is one of the differences in 5.4.3 vs 4.6.x. Any help would be greatly appreciated. The script file is as follows:
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class TextController : MonoBehaviour {
public Text text;
// Use this for initialization
void Start () {
Text.text = “Hello World”;
}
// Update is called once per frame
void Update () {
}
}