Hello,

I’m trying to get the location service within Unity. I’ve literally copied this out of the reference:

http://docs.unity3d.com/Documentation/ScriptReference/LocationService.Start.html

And I get this error: Longitude is not a member of UnityEngine.LocationService.

What am I doing wrong here?

Thanks

I think the example needs a lastData in there.

Input.location.lastData.longitude + " " +

etc