title: Setting text in a unity inputfield
body: <p>Upon a user registering the inputfield should autofill out the email address currently stored in user prefs. I have this working fine.</p>
  
  <p>My problem is outputting this variable into the inputfield in the main page. Any help here would be great if anyone has managed it before. Every time I try to get the text of the inputfield it returns a null ref.</p>
  
  <pre><code>    GameObject inputFieldGo = GameObject.Find("email");
      InputField inputFieldCo = inputFieldGo.GetComponent&lt;InputField&gt;();
      inputFieldCo.text = "hello";
  </code></pre>
  
  <p>NullReferenceException: Object reference not set to an instance of an object
  firstRun.Start () (at Assets/Scripts/init/firstRun.cs:31)</p>