// A java function (updateText) calls this function using UnitySendMessage. public void getLocationChangeNotification(string text) { Debug.Log("getting new user location from android"); //lnglat.text = plugin.updateLocation (); umc = GetComponent <UserMovementController> (); umc.ToNewStringSpot(plugin.updateLocation()); }
void Update() { // Update the Text UI's text to the user's updated location. // TODO: update location only when the user location has actually been changed. longlat.text = plugin.updateLocation(); }
public void getLocationChangeNotification(string text) { Debug.Log("getting new user location from android"); location = plugin.updateLocation(); }