LocationService.lastData

public LocationInfo lastData;

Description

The last geographical location that the device registered.

Before you access this property, call Start() in Input.location to start the location service.

Note: On WebGL, this value is 0 or null if the browser has no implementation for it.


Did you find this page useful? Please give it a rating: