title: Setting EventTrigger with UnityScript
body: <p>I'm currently trying to add <code>onClick</code> methods to a button created at runtime. I have tried searching but can only find C# examples. Could anyone help me or direct me as to how I would go about this using UnityScript?</p>
  
  <p>The following code is the button I have made:</p>
  
  <pre><code>GUI.Button(new Rect(280, 240, 50, 30), items[1]);
  </code></pre>
  
  <p>I have tried using the C# examples but they just created errors so I haven't included my attempts.</p>