Text Box in Inspector not there 5.4.3

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 () {

}

}

I also realize I should have posted this in the proper lecture, and I apologize.

have a look in the console for any errors.

if there are compilation errors, sometimes the publicly exposed variables dont show in the inspector as the compilation doesnt get that far before it hits an error.

Privacy & Terms