title: Setting UIpanel size from script
body: <p>I am trying to re-create my game using the NGUI plugin for Unity and I like it a lot so far, but am in the mist on this one.</p>
  
  <p>I have an UIPanel called games and I want programmatically to change it size but don't know how to get into the parameters...</p>
  
  <p>I have tried like this, but with no luck:</p>
  
  <pre><code>GameObject.Find("Games").UIPanel.size.x = 300;
  </code></pre>
  
  <p>Also tried this, but with no luck:</p>
  
  <pre><code>GameObject.Find("Games").GetComponent("UIPanel").clipping.size.x = 300;
  </code></pre>
  
  <p>This doesn't work and I don't know how to do this... Any help is appreciated :-)</p>