LocationService
Provides methods that allow an application to access the device's location.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Class
- Namespace: UnityEngine
- Assembly: UnityEngine.InputLegacyModule
public class LocationService
Properties
Property | Description |
|---|---|
| isEnabledByUser | Indicates whether the device allows the application to access the location service. |
| lastData | The last geographical location that the device registered. |
| status | Returns the location service status. |