title: How to get the gameobject- which triggered the UI.Button click function
body: <p>in Unity 5- I am trying to <strong>disable a ui.button- once it is clicked</strong>. There is a list of buttons- among which- the clicked one will be disabled. But I am not sure, if it is possible to get the event triggering gameobject. </p>
  
  <p>Unity Editor-</p>
  
  <p><img src="https://i.stack.imgur.com/CtL6X.jpg" alt="enter image description here"></p>
  
  <p>Code:</p>
  
  <pre><code>    // called from ui.button clicks
      public void callThisMethod(string param) {
  
          // how to get the clicked button gameobject here 
  
      }
  </code></pre>