public void PinToGpsLocation(GPSLocation gps) { this.transform.position = GPSLocation.GPSToCartesian(gps); this.transform.LookAt(Vector3.zero); this.transform.Rotate(180.0f, 0.0f, 0.0f); this.transform.SetParent(this.transform); }