title: 4.6 New UI How to change Button Image?
body: <p>Everything I search is based on the old UI.</p>
  
  <p>I've tried the following</p>
  
  <pre class="lang-cs prettyprint-override"><code>button.image = Resource.Load&lt;Image&gt;("...");
  button.GetComponent&lt;Image&gt;() = Resources.Load&lt;Image&gt;("....");
  button.GetComponent&lt;Button&gt;().image = Resources.Load&lt;Image&gt;("....");
  button.GetComponent&lt;Image&gt;().sprite = Resources.Load&lt;Sprite&gt;("....");
  </code></pre>
  
  <p>I want to change the button image on an event.</p>