title: EditorGUILayout.TextField Not Changing/Working Unity 2017.1.1f1
body: <p><strong>Issue</strong> <br>
  Using <code>EditorGUILayout.TextField</code> to edit the names of currencies allows me to modify the text within the field but does not modify the variable or save the changes I've made. Video shows what I mean if you don't understand: </p>
  
  <blockquote>
    <p><a href="https://www.youtube.com/watch?v=fr3cA0_YhXM" rel="nofollow noreferrer">https://www.youtube.com/watch?v=fr3cA0_YhXM</a></p>
  </blockquote>
  
  <p><strong>Code Not Working</strong>:</p>
  
  <pre><code>for(int cnt = 0; cnt &lt; Script.CurrencyLevels; cnt++)
  {
      EditorGUILayout.LabelField("Currency " + cnt + ": ");
      Script.CurrencyName[cnt] = EditorGUILayout.TextField(Script.CurrencyName[cnt]);
  }
  </code></pre>
  
  <p><strong>Full Code Links</strong></p>
  
  <pre><code>https://hastebin.com/omajulihor.cs
  https://hastebin.com/eqefuvotog.cs 
  </code></pre>
  
  <p><br> <br></p>
  
  <p><strong>Language: C#</strong> <br>
  <strong>Engine: Unity 2017.1.1f1</strong> <br> <br>
  <em>Thank you ahead of time for the help &lt;3</em></p>