title: How to use the "On Value Change" in Unity3D Input Field UI component
body: <p>I'm following a tutorial on how to work with Unity3d and I've hit a dead end.</p>
  
  <p>I believe something changed in a newer version of Unity since the tutorial seems to work nice the way I'm doing it.</p>
  
  <p>I have an Input Field UI component that I want to call a C# function every time I change it.</p>
  
  <p>According to the tutorial I just have to use the "On Value Change" property of the Input Field (script) and tell it to call some function that takes a <code>string</code> as an argument.</p>
  
  <pre><code>public string playerName;
  public void setName (string name)
  {
      playerName = name;
      Debug.Log("Set playerName: "+name, gameObject);
      Debug.Log("Get playerName: "+playerName, gameObject);
  
  }
  </code></pre>
  
  <p>Yet, this does nothing, my <code>playerName</code> property it's always empty and I don't receive anything in <code>name</code>.</p>
  
  <p>How do I go about doing this? I've seen an answer setting up a listener in the <code>Start()</code> function, and then using an <code>UnityEvent</code> in here: <a href="https://stackoverflow.com/questions/28273062/get-text-from-input-field">Get text from Input field</a></p>
  
  <p>But is there another way to do this using the Unity3d graphical editor that doesn't involve writing so much code?</p>