title: Find a GameObject and check if the user has clicked on it
body: <p>I have recently been making the UI for a game I am creating and have run into a problem.
  I have been trying to find a way in the new Unity 4.6 for the user to be able to click on a player card and have it select the player they clicked on. </p>
  
  <pre><code>public void Panel1Click()
  {
      GameManager.Player1Select ();
  }
  </code></pre>
  
  <p>This is the way I am doing it at the moment, calling this when the player clicks on Panel 1, there are also 3 more for each of them. </p>
  
  <p>I have been researching different methods on how to find the object the player clicks the execute the correct selecting code.</p>
  
  <pre><code>if (GameObject.Find ("Panel 1")) 
  {
      print ("Click Panel 1");
      GameManager.Player1Select();
  } 
  </code></pre>
  
  <p>This is one of the methods I tried, however nothing gets called. (Because it just checks if the object exists/is true? I think).</p>
  
  <p>All these methods are linked to the <code>EventSystem</code> component on the panels.</p>
  
  <p>Is there a more efficient way of condensing all the functions and just checking which panel the player clicks on?</p>