title: Unity 2D (C#) - More objects in same position
body: <p>I have some 2D objects in same transform position. How can I find out how many objects are in one same position and which objects are they?</p>
  
  <p>EDIT:</p>
  
  <p>Here is my code:
  I want save all object on <code>transform.position - new Vector3(speed, 0, 0)</code></p>
  
  <pre><code>GameObject go = GetObjectAt(transform.position - new Vector3(speed, 0, 0));
  
      public GameObject GetObjectAt(Vector3 position)
  {
      string pos = position.x + "_" + position.y + "_";
      if (obstacleDictionary.ContainsKey(pos + "BigRed"))
      {
          return obstacleDictionary[pos + "BigRed"];
      }
  
      else if (obstacleDictionary.ContainsKey(pos + "SmallRed"))
      {
          return obstacleDictionary[pos + "SmallRed"];
      }
  
      else return null;
  }
  </code></pre>