Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


lastData

The last geographical location that the device registered.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.InputLegacyModule
public LocationInfo lastData { get; }

Remarks

Before you access this property, call Start() in _location to start the location service.
Note: On WebGL, this value is 0 or null if the browser has no implementation for it.