LocationService.lastData Manual     Reference     Scripting  
Scripting > Runtime Classes > LocationService
LocationService.lastData

var lastData : LocationInfo

Description

Last measured device geographical location.

Before accessing this property, make sure location service was started via Input.location.Start().