Stop()
Stops location service updates. This is useful to save battery power when the application doesn't require the location service.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.InputLegacyModule
public void Stop()
Remarks
Do not drive the location service from both this legacy API and the Input System in the same project. Both share the same underlying platform location service, so stopping it here also stops updates for the (and vice versa). Use a single location API per project.
LocationSensorLocationSensor