Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

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.