//note: make sure before calling this that GPS is Enable //use this if you only want to get latitude public void GetLatitude() { double latitude = gpsPlugin.GetLatitude(); UpdateLatitudeText(latitude.ToString()); Debug.Log("Latitude " + latitude); }
private void Start() { m_Text.text = "LON: " + GPSPlugin.GetLongitude() + ", LAT: " + GPSPlugin.GetLatitude(); }
public void GetLatitude() { latitude = gpsPlugin.GetLatitude(); Debug.Log("Latitude " + latitude); }