title: Getting name of object which is using currently a script in Unity
body: <p>I'm creating GameObjects dynamically during runtime a game. Every of them has another name bust the same script. I'm looking for way to get to know which GameObject run a script and get this information in another script.</p>
  
  <p>Objects are created here:</p>
  
  <pre><code>for (int i = 0; i &lt; w.wHowManyWords; i++)
      {
          var obj = new GameObject();
          obj.name = w.wLevelWords[i, 0];
          elementName = obj.name;
  ...
      }
  </code></pre>
  
  <p>I'd like to get information about which object started this script:</p>
  
  <pre><code>public class ClickAction : MonoBehaviour, IPointerClickHandler
  {
      private string[,] levelWords;
  
      public void OnPointerClick(PointerEventData eventData)
      {
          print("I am here");
      }
  }
  </code></pre>