void OnMouseUp() { Cursor.visible = true; if (d) { d.AddToGene(g, s, this); } else { transform.position = startLoc; } }