LocationService
Provides methods that allow an application to access the device's location.
阅读时间1 分钟最后更新于 1 个月前
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. |