title: Return GameObject to start position after OnMouseUp C#
body: <p>Im making a Drag-n-drop game and wondering how I can save an gameobjects position, and then return an object to that position when OnMouseUp starts. This is supposed to be added to multiple objects.</p>
  
  <p>Currently Im using this for the mouse-events, and that is working pretty good.</p>
  
  <pre><code>void OnMouseDown()
          {
          screenPoint = Camera.main.WorldToScreenPoint(gameObject.transform.position);
          offset = gameObject.transform.position - Camera.main.ScreenToWorldPoint(new Vector3(Input.mousePosition.x, Input.mousePosition.y, screenPoint.z));
          Debug.Log("Clicked "+gameObject.name);
          }
  public void OnMouseDrag()
          {
          Vector3 curScreenPoint = new Vector3(Input.mousePosition.x, Input.mousePosition.y, screenPoint.z);
          Vector3 curPosition = Camera.main.ScreenToWorldPoint(curScreenPoint)+offset;
          }
  void OnMouseUp()
          {
          Debug.Log("Returning gameobject to startposition"); 
          }
  </code></pre>
  
  <p>What shall I do to return the object to start position when OnMouseUp.
  Been looking online for ways to do it, but I cant find a sulution</p>