public void sendClick(GPSDefinition.GPSPoint point) //Pass it on { cameraObject.SendMessage("moveToObserve", point); TextEditor te = new TextEditor(); te.content = new GUIContent(point.originalGPS); te.SelectAll(); te.Copy(); }
public void moveToObserve(GPSDefinition.GPSPoint position) { StartCoroutine(quickMove(transform.position, position.unityPosition + (transform.forward) * (scaleDivisor / -3f))); //Moved back a bit }